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.
*** Bug 271679 has been marked as a duplicate of this bug. ***
*** Bug 321297 has been marked as a duplicate of this bug. ***
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.
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
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.
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-
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