[Bug 262212] New: Face recognition doesn't work

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

[Bug 262212] New: Face recognition doesn't work

Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212

           Summary: Face recognition doesn't work
           Product: digikam
           Version: 2.0.0
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Face Detection
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Created an attachment (id=55617)
 --> (http://bugs.kde.org/attachment.cgi?id=55617)
The dialog stays like this.

Version:           2.0.0 (using Devel)
OS:                Linux

When I scan my collection the faces are detected and the database is created.
In a next step the faces should be recognized. However, the dialog just stays
the same for a very long time.
The small bar is still moving around, but nothing happens.
I tried this after I tagged a person in a few images and wanted to see whether
this person gets recognized in other pictures.

Reproducible: Always

Steps to Reproduce:
Run "Scan collection for faces" and select "Recognize faces". (see attachment)

Actual Results:  
Dialog gets stuck on first image.

Expected Results:  
Recognize detected faces.

I have a quit untouched fresh KDE SVN and freshly compiled digikam 2.0.0

--
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 262212] Face recognition doesn't work

Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=262212





--- Comment #1 from Christoph Feck <christoph maxiom de>  2011-01-05 17:43:53 ---
Could you verify your OpenCV installation as explained in bug 262074? It might
be a duplicate.

--
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 262212] Face recognition doesn't work

Bugzilla from felix_mauch@web.de
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212





--- Comment #2 from  <felix_mauch web de>  2011-01-05 17:58:48 ---
My OpenCV installation does include haarcascades in
/usr/share/opencv/haarcascades/

However, I read in the other bug report that digikam looks for them in
/haarcascades for one user. How can I check where digikam looks for them on my
installation?

--
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 262212] Face recognition doesn't work

Gilles Caulier-4
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212


Gilles Caulier <[hidden email]> changed:

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




--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2011-01-05 19:18:15 ---
http://websvn.kde.org/branches/extragear/graphics/digikam/extra/libkface/libface/LibFace.h?revision=1206055&view=markup

line 74.

OPENCVDIR variable is provided by opencv config sets from package. It's filled
by cmake script from opencv project at compile time.

If opencv package is not set properlly...

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 262212] Face recognition doesn't work

Bugzilla from felix_mauch@web.de
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212





--- Comment #4 from  <felix_mauch web de>  2011-01-05 22:15:21 ---
Hm. I'm just wondering... line 68 says that standard value for this is
/usr/share/opencv which is actually my installation. And the OpenCVConfig.cmake
file is in there, as well.
So I don't really see where the problem is with that.

--
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 262212] Face recognition doesn't work

Bugzilla from gandalf.lechner@univie.ac.at
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212


Gandalf Lechner <[hidden email]> changed:

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




--- Comment #5 from Gandalf Lechner <gandalf lechner univie ac at>  2011-01-06 10:17:25 ---
Here is what face detection does on my machine (digikam 2.0 svn, kde 4.6 rc1
kubuntu, opencv 2.2 compiled from sources): The scanner works, and lists faces
in the people/unknown tag, where I can assign the proper names to the faces.
When browsing pictures in digikam, also the "show face tags" overlay icon works
as expected, shows the registered faces, and gives me the possibility to enter
names to faces which are recognized as faces but not yet associated with a
name. What is not working however, is the "add a face tag" icon: Clicking it
just doesn't do anything. What is it supposed to do? Draw a rectangle around a
face and assign a tag?

--
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 262212] Face recognition doesn't work

Bugzilla from lonestar@lonestar.it
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212


LoneStar <[hidden email]> changed:

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




--- Comment #6 from LoneStar <lonestar lonestar it>  2011-01-06 12:16:55 ---
same behaviour as #5 for me

--
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 262212] Face recognition doesn't work

Bugzilla from felix_mauch@web.de
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212





--- Comment #7 from  <felix_mauch web de>  2011-01-06 12:19:33 ---
Well, that's another issue, but I think this has nothing to do with the
recognition-stuff.

--
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 262212] Face recognition doesn't work

Marcel Wiesweg
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212





--- Comment #8 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-01-06 13:40:55 ---
This is very simple: implementation is currently missing ;-) Yes I forgot a bit
about that one.

--
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 262212] Face recognition doesn't work

Milan Knizek
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212


Milan Knizek <[hidden email]> changed:

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




--- Comment #9 from Milan Knizek <knizek volny cz>  2011-01-08 21:02:14 ---
Hits me, too.
The popup window with information about scanning keeps on even after scanning
completion. Faces are detected (/People/Unknown), but not recognised (I made a
copy of image with manually assigned /People/John and rescanned the collection.
The face on the image copy was detected but assigned with /People/Unknown).

--
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 262212] Face recognition doesn't work

Bugzilla from nigel@snowwie.nl
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212


Nigel Tummers <[hidden email]> changed:

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




--- Comment #10 from Nigel Tummers <nigel snowwie nl>  2011-01-28 14:33:17 ---
I think i've got the same issues. Using latest kde & digikam svn builds with
OpenCV 2.2.0-2 from arch repository.

Face detection works and faces are listed in People/Unknown.

But when I try to "Scan collection for faces" -> "Recognise faces" it completes
in ~2 seconds (100 images)
The thumbnail in the progress bar shows shows just a 'no image' thumbnail.

I get the following error (for each image) in the terminal:

OpenCV Error: Assertion failed (ssize.area() > 0) in resize, file
/build/src/OpenCV-2.2.0/modules/imgproc/src/imgwarp.cpp, line 1391
digikam(1061)/KFACE: cv::Exception:
/build/src/OpenCV-2.2.0/modules/imgproc/src/imgwarp.cpp:1391: error: (-215)
ssize.area() > 0 in function resize

QImage::scaled: Image is a null image

--
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 262212] Face recognition doesn't work

Bugzilla from kde-bugs@adamspiers.org
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212


Adam Spiers <[hidden email]> changed:

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




--- Comment #11 from Adam Spiers <kde-bugs adamspiers org>  2011-01-31 17:46:05 ---
I see this too.  See also bug 262074.

--
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 262212] Face recognition doesn't work

Gilles Caulier-4
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212





--- Comment #12 from Gilles Caulier <caulier gilles gmail com>  2011-03-22 10:47:47 ---
Git commit 948d0e560b5386539fd3bf1057fcb3d18683735f by Gilles Caulier.
Committed on 22/03/2011 at 10:48.
Pushed by cgilles into branch 'master'.

add a new static method to check if Cascade Open CV data dir exist (typically
data files installed with OpenCV library)
CCBUGS: 262212

M  +19   -3    libkface/face.cpp    
M  +7    -3    libkface/face.h    

http://commits.kde.org/libkface/948d0e560b5386539fd3bf1057fcb3d18683735f

--
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 262212] Face recognition doesn't work

Gilles Caulier-4
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212





--- Comment #13 from Gilles Caulier <caulier gilles gmail com>  2011-03-22 11:03:06 ---
Git commit 84e9d5350ffcb7ac4f3f5cb2faf5d8f058f3f8cb by Gilles Caulier.
Committed on 22/03/2011 at 11:02.
Pushed by cgilles into branch 'master'.

If OpenCV Haar Cascade dir do not exist in OpenCV installation path, show an
error message box to bring user about this problem.
Note : if these files are not avaialble, Face detection and recognition don't
work.
CCBUGS: 262212

M  +11   -12   digikam/main/digikamapp.cpp    

http://commits.kde.org/digikam/84e9d5350ffcb7ac4f3f5cb2faf5d8f058f3f8cb

--
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 262212] Face recognition doesn't work

Bugzilla from mrzanda@yahoo.co.uk
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212


Flavio <[hidden email]> changed:

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




--- Comment #14 from Flavio <mrzanda yahoo co uk>  2011-04-26 22:04:02 ---
I have the same problem yet Digikam looks for the right Haar Cascade dir.

Cascade directory located as : /usr/share/opencv/haarcascades
opened
OpenCV Error: Assertion failed (ssize.area() > 0) in resize, file
/build/buildd/opencv2.2-2.2.0/modules/imgproc/src/imgwarp.cpp, line 1391
digikam(6608)/KFACE: cv::Exception:
/build/buildd/opencv2.2-2.2.0/modules/imgproc/src/imgwarp.cpp:1391: error:
(-215) ssize.area() > 0 in function resize

That folder contains all the cascades it should, so that's not the problem. I
don't think that the directory is the problem, otherwise face detection
wouldn't work either while it does.

So does recognition work for anyone, and if it does, could you tell from where
you installed opencv and 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 262212] Face recognition doesn't work

Bugzilla from zack23evans@gmail.com
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212


Zack Evans <[hidden email]> changed:

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




--- Comment #15 from Zack Evans <zack23evans gmail com>  2011-12-05 23:58:51 ---
So I think this fixed the Haar problem? But the "face recognition doesn't work"
problem is still here. Maybe this should be marked a dupe of bug 271679?

--
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 262212] Face recognition doesn't work

Gilles Caulier-4
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE




--- Comment #16 from Gilles Caulier <caulier gilles gmail com>  2011-12-14 13:45:17 ---


*** This bug has been marked as a duplicate of bug 271679 ***

--
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 262212] Face recognition doesn't work

Gilles Caulier-4
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.0.0

--
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
|

[digikam] [Bug 262212] Face recognition doesn't work

bugzilla_noreply
In reply to this post by Bugzilla from felix_mauch@web.de
https://bugs.kde.org/show_bug.cgi?id=262212

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Faces-Management            |Faces-Recognition

--
You are receiving this mail because:
You are the assignee for the bug.