[Bug 262074] New: no face are detected

classic Classic list List threaded Threaded
44 messages Options
123
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] New: no face are detected

Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074

           Summary: no face are detected
           Product: digikam
           Version: 2.0.0
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: Face Detection
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           2.0.0 (using KDE 4.5.3)
OS:                Linux

Using 2.0.0 beta 1 I tried to detect some faces. I click on "scan collection
for faces" after a few minutes, the progress bar is still moving but the
process is finished and I can click on close. But I can not see any picture in
the people/unknown tag.  The view on the right is completely empty. I can not
scroll (as in Gilles' report).

If I go back to album view and preview a pciture, if I click on "add a face
tag" nothing happens and I can not see any face tag.


Reproducible: Always

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074





--- Comment #1 from Julien Narboux <Julien narboux fr>  2011-01-04 14:37:30 ---
I forgot to say that I tried to change sensitivity and rerun face detection
without success.

Julien

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Gilles Caulier-4
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #2 from Gilles Caulier <caulier gilles gmail com>  2011-01-04 15:49:11 ---
Do you have installed OpenCV data files ? Under mandriva it's a separate rpm
for ex.

Here, all work fine...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Bugzilla from Julien@narboux.fr
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074





--- Comment #3 from Julien Narboux <Julien narboux fr>  2011-01-04 16:29:58 ---
I am runing ubuntu 10.10 and i installed all libcv, libcv-dev libcvaux libcv4
packages.
The files such as  haarcascade_frontalface_alt2.xml ... are not installed by
the packages libcv* packages but by the opencvdoc package in
/usr/share/doc/opencvdoc/examples/haarcascades/haarcascades/haarcascade_frontalface_alt2.xml.gz

Is this the problem ? digikam needs this ?

Julien

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Gilles Caulier-4
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074





--- Comment #4 from Gilles Caulier <caulier gilles gmail com>  2011-01-04 17:05:35 ---
yes, haar cascade files are mandatory

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Bug 262074] no face are detected

alexjironkin
In reply to this post by Bugzilla from Julien@narboux.fr
K so it seems that in a lot of places the default installs are different. Can we try to compile a list of places that packages install cascades and I can add them to the code so we can anticipate this. Otherwise I might add a parameter to specify the location of the cascades as so many people have them in different directories.


Alex

On 4 Jan 2011, at 15:29, Julien Narboux wrote:

> https://bugs.kde.org/show_bug.cgi?id=262074
>
>
>
>
>
> --- Comment #3 from Julien Narboux <Julien narboux fr>  2011-01-04 16:29:58 ---
> I am runing ubuntu 10.10 and i installed all libcv, libcv-dev libcvaux libcv4
> packages.
> The files such as  haarcascade_frontalface_alt2.xml ... are not installed by
> the packages libcv* packages but by the opencvdoc package in
> /usr/share/doc/opencvdoc/examples/haarcascades/haarcascades/haarcascade_frontalface_alt2.xml.gz
>
> Is this the problem ? digikam needs this ?
>
> Julien
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug.
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel

If we knew what we were doing, it wouldn't be called research, would it?
-- Albert Einstein



_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

alexjironkin
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074





--- Comment #5 from Alex <alexjironkin gmail com>  2011-01-04 22:24:03 ---
K so it seems that in a lot of places the default installs are different. Can
we try to compile a list of places that packages install cascades and I can add
them to the code so we can anticipate this. Otherwise I might add a parameter
to specify the location of the cascades as so many people have them in
different directories.


Alex

On 4 Jan 2011, at 15:29, Julien Narboux wrote:

> https://bugs.kde.org/show_bug.cgi?id=262074
>
>
>
>
>
> --- Comment #3 from Julien Narboux <Julien narboux fr>  2011-01-04 16:29:58 ---
> I am runing ubuntu 10.10 and i installed all libcv, libcv-dev libcvaux libcv4
> packages.
> The files such as  haarcascade_frontalface_alt2.xml ... are not installed by
> the packages libcv* packages but by the opencvdoc package in
> /usr/share/doc/opencvdoc/examples/haarcascades/haarcascades/haarcascade_frontalface_alt2.xml.gz
>
> Is this the problem ? digikam needs this ?
>
> Julien
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug.
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel

If we knew what we were doing, it wouldn't be called research, would it?
-- Albert Einstein

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Bugzilla from Julien@narboux.fr
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074





--- Comment #6 from Julien Narboux <Julien narboux fr>  2011-01-05 00:56:23 ---
After searching into ubuntu packages, it seems that these files are considered
as examples and hence are not shipped with opencv but are shipped with the
applications using them. Maybe digikam should also include a copy of these
files.
Anyway there should be an error message appearing in the gui if the file can
not be found, otherwise we will get many similar bug reports.

Julien

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Bugzilla from Julien@narboux.fr
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074





--- Comment #7 from Julien Narboux <Julien narboux fr>  2011-01-05 10:20:23 ---
Thanks for your help.

Under ubuntu 10.10, copying and uncompressing the haarcascades solved the
issue:

sudo cp -R /usr/share/doc/opencv-doc/examples/haarcascades/haarcascades
/usr/share/opencv/
cd /usr/share/opencv/haarcascades
sudo gunzip *.gz

Julien

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Gilles Caulier-4
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074





--- Comment #8 from Gilles Caulier <caulier gilles gmail com>  2011-01-05 14:02:47 ---
Alex,

How to solve this issue ? haar cascade files must be included in libface ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Marcel Wiesweg
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074





--- Comment #9 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-01-05 15:03:35 ---
No, we should not include them: It's 20 MB. That will be ten or twenty times
the size of the package, all of it duplicated.

And these files are not examples. They were created by researchers in a pretty
involved process from large datasets, then made available publicly. You dont do
that in an afternoon. It is the collection of haarcascades available freely in
this world. So e.g. file a bug against Ubuntu.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Gilles Caulier-4
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |UPSTREAM




--- Comment #10 from Gilles Caulier <caulier gilles gmail com>  2011-01-05 15:12:00 ---
Thanks Marcel, so i close this file now...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Bugzilla from Julien@narboux.fr
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074





--- Comment #11 from Julien Narboux <Julien narboux fr>  2011-01-05 15:15:27 ---
Ok Marcel,

I will file a bug against ubuntu. But there is still a problem in digiKam, if
the files are missing there should be an error message in the gui not in the
console I think.

Julien

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Bugzilla from lonestar@lonestar.it
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074


LoneStar <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #12 from LoneStar <lonestar lonestar it>  2011-01-05 17:15:57 ---
On my system, opencv is complete with haarcascades files, located in
/usr/share/opencv/haarcascades, but digikam looks for them at /haarcascades.

I have had to create symbolic link /haarcascades ->
/usr/share/opencv/haarcascades and now it works.

How come it has detected an unexisting path for those files? is it hardcoded? I
haven't found an option to change haarcascades path in digikam properities.

(system is Slackware64 current)

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Bugzilla from Julien@narboux.fr
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074





--- Comment #13 from Julien Narboux <Julien narboux fr>  2011-01-06 10:08:42 ---
A bug has been filed in Ubuntu bug tracking system here:
https://bugs.launchpad.net/opencv/+bug/698016

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Bugzilla from phani00@gmail.com
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074


phanisvara das <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #14 from phanisvara das <phani00 gmail com>  2011-01-07 07:04:05 ---
face detection doesn't work in openSUSE 11.4 (factory) with KDE RC2 (K:D:F)
either. after downloading & unpacking opencv-doc from ubuntu repos, i found
that they were alredy included in the opencv package i'd installed. also
providing a symlink in / doesn't help, as it did according to #12.

i'll try to compile digikam2 from source now, let's see what happens...

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Bugzilla from vince06fr@gmail.com
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074


Vince <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #15 from Vince <vince06fr gmail com>  2011-01-07 22:26:50 ---
I'm under kubuntu 10.10 and the face detection does not work.
  following this thread I tried
"sudo apt-get install-dev libcv libcv libcvaux libcv4
=>
E: Could not find package libcv
E: Could not find package libcvaux
E: Could not find package libcv4
"
libcv-dev was already installed

Then I try

"sudo apt-get install opencv-doc

sudo cp-R / usr / share / doc / opencv-doc / examples / haarcascades /
haarcascades / usr / share / opencv /
cd / usr / share / opencv / haarcascades
sudo gunzip *. gz "

Despite this manipulation, the face-detection "does not work

may be necessary to recompile it digikam?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Bugzilla from Julien@narboux.fr
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074





--- Comment #16 from Julien Narboux <Julien narboux fr>  2011-01-08 08:12:59 ---
Vince,

how did you get digikam 2.0.0 beta 1 ?  can you lis the files in
/usr/share/opencv/haarcascades ?

Julien

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Bugzilla from vince06fr@gmail.com
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074





--- Comment #17 from Vince <vince06fr gmail com>  2011-01-08 12:06:09 ---
I get get digikam 2.0.0 beta 1 here :
http://sourceforge.net/projects/digikam/files

the files in my /usr/share/opencv/haarcascades are :


haarcascade_eye_tree_eyeglasses.xml
haarcascade_eye.xml
haarcascade_frontalface_alt2.xml
haarcascade_frontalface_alt_tree.xml
haarcascade_frontalface_alt.xml
haarcascade_frontalface_default.xml
haarcascade_fullbody.xml
haarcascade_lefteye_2splits.xml
haarcascade_lowerbody.xml
haarcascade_mcs_eyepair_big.xml
haarcascade_mcs_eyepair_small.xml
haarcascade_mcs_lefteye.xml
haarcascade_mcs_mouth.xml
haarcascade_mcs_nose.xml
haarcascade_mcs_righteye.xml
haarcascade_mcs_upperbody.xml
haarcascade_profileface.xml
haarcascade_righteye_2splits.xml
haarcascade_upperbody.xml

thanks for your work and your interest

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 262074] no face are detected

Bugzilla from Julien@narboux.fr
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=262074





--- Comment #18 from Julien Narboux <Julien narboux fr>  2011-01-08 12:30:44 ---
What do you mean exactly by does not work ? what are the symptoms ? can you run
digikam in a console to check if there are some error messages about
haarcascades ?

Julien

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
123