Bug 365321 - Scan + recognize faces does not work.
Summary: Scan + recognize faces does not work.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Engine (show other bugs)
Version: 5.0.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-10 13:56 UTC by Evert Vorster
Modified: 2016-09-17 05:38 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evert Vorster 2016-07-10 13:56:00 UTC
When selecting scan and recognize faces in collection, no faces are detected. 
When just detecting faces, the detector finds faces. When just recognizing faces, the face recognizer works, but when used together it just skips all the images. 



Reproducible: Always

Steps to Reproduce:
1.Select scan and recognise faces in collection.
2.Select collection to scan
3.Press OK

Actual Results:  
No faces detected, process finishes quickly. 

Expected Results:  
Faces found and recognized. 

This is a bug that was discovered while investigating a segfault in the scanner.
Comment 1 caulier.gilles 2016-07-14 09:02:28 UTC
*** Bug 271679 has been marked as a duplicate of this bug. ***
Comment 2 caulier.gilles 2016-07-14 09:03:53 UTC
*** Bug 321297 has been marked as a duplicate of this bug. ***
Comment 3 Pal Körössy 2016-09-04 08:50:06 UTC
For me it was the same with digikam 4.6 until I realized that both libopencv2_4 and libopencv3 was installed. After removing libopencv3_1 face detection works well.
Comment 4 caulier.gilles 2016-09-04 09:38:23 UTC
Great to see this issue with both OpenCV2 and 3

Typically both version can be installed at the same time of course. After all it's a shared libray.

But opencv is a big mess. I'm not surprised about run time incompatibility with version 2 and 3. I recommend to report this problem to OpenCV team.

Gilles Caulier
Comment 5 Evert Vorster 2016-09-04 10:22:13 UTC
On Arch Linux I only have OpenCV v3 installed, and this is where I am seeing the issue. 
So, the fix proposed does not work for me, and I am opening the ticket again.
Comment 6 Evert Vorster 2016-09-04 10:23:41 UTC
Just want to add. 

Scanning for faces works fine, and recognizing faces works fine, but when the "scan and recognize" faces button is clicked, nothing happens, no faces are scanned, and none recognized. 

-Evert-
Comment 7 caulier.gilles 2016-09-17 05:38:19 UTC
Since i fixed bugs #366557 and #335013, this dysfunction is not reproducible.

Here i use OpenCV 3.1.0 with Mageia 6, and the detection + recognition option work as expected. I do not stop immediately as with previous version.

The fix will be published with next 5.2.0 release.

I close this file now.

Gilles Caulier