Bug 446187

Summary: Faces not detected
Product: [Applications] digikam Reporter: Alexandre Belz <alexandre.belz>
Component: Faces-DetectionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 7.3.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 7.4.0
Sentry Crash Report:
Attachments: attachment-28586-0.html
attachment-12265-0.html

Description Alexandre Belz 2021-11-28 09:17:10 UTC
SUMMARY
2 faces are not detected on the enclosed picture.

STEPS TO REPRODUCE
1. Download my original picture from OneDrive :  https://1drv.ms/u/s!Ahp2yXCYf8WmmBlqczcPQLo5gZQJ?e=GumVqT
2. Open the picture in digikam/preview mode
3. check that Show Face Tags = ON
4. You can see that No faces are yet detected.
5. Right Click on the picture, select "Scan for Faces" item on the popup menu

OBSERVED RESULT
No faces detected.
Clearing all faces, and retrying does not solve the issue.

EXPECTED RESULT
We should see 2 faces detected.

SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
Does not work better if I use the top menu"Item/Scan for Faces".
Comment 1 Maik Qualmann 2021-11-28 09:29:44 UTC
The image does not contain face metadata. If you activate the option for Yolov3 face detection, the faces will be detected again without any problems. 

Maik
Comment 2 Alexandre Belz 2021-11-28 10:06:37 UTC
Hello Maik,
OK,  in Left tab People/Workflow , I activated *Yolo3* , and changed radio button from Recognize to *Detect*.
Now the faces area are detected, either on a global range (from People Workflow area) and from a single picture (from Right Click, Scan).

Whanging the global People Workflow settings was not so obvious for me.
Could we imagine that "Face Detection" workflow (+Yolov3?) is temporarely activated when Face Scan is triggered from Preview / right click ?
Else we feel it just "doesn't work" .

Moreover, could we imagine to have "all in one" option, with detection then recognition, after just one request of "Face Scan" ?
(could be a 3rd radio button in Workflow, saying "Detect, then Recognize")

Again, many thanks to you for your explanations & support.
Comment 3 Maik Qualmann 2021-11-28 10:19:25 UTC
If you activated YoloV3, it is now active in all areas, even if you are using face detection above the image.

Maik
Comment 4 Alexandre Belz 2021-11-28 17:50:50 UTC
Created attachment 144043 [details]
attachment-28586-0.html

Ok Maik, thanks.
That's clear, although it's a bit strange to me that YoloV3 can be deactivated while FaceScan needs it to work properly.

Strange also that YoloV3 checkbox was not already activated on my configuration, while i'm using digikam for years now, and used face detection with older versions.
-> Is YoloV3 activated by default when windows x64 version  of digikam is reinstalled ?
If not yet, that could be a good thing to do on next release, so that FaceScan works properly, for people like me.

Best regards,
Alexandre


-------- Message d'origine --------
De : Maik Qualmann <bugzilla_noreply@kde.org>
Date : 28/11/2021 11:19 (GMT+01:00)
À : alexandre.belz@live.fr
Objet : [digikam] [Bug 446187] Faces not detected

https://bugs.kde.org/show_bug.cgi?id=446187

--- Comment #3 from Maik Qualmann <metzpinguin@gmail.com> ---
If you activated YoloV3, it is now active in all areas, even if you are using
face detection above the image.

Maik

--
You are receiving this mail because:
You reported the bug.
Comment 5 Maik Qualmann 2021-11-28 21:23:17 UTC
The YoloV3 face detection engine is not set as the standard because it is significantly slower. The Caffemodel face detection is usually sufficient and very fast. The YoloV3 engine is only superior for small and many faces in the image.

Maik
Comment 6 Alexandre Belz 2021-11-28 21:44:35 UTC
Created attachment 144047 [details]
attachment-12265-0.html

Ok, thanks for that explanation.

There was just 2 faces on my test picture, and they were in a reasonable size.
So Yolov3 being disabled was maybe not the root cause of my issue. Maybe the inly root cause was that i was in Workflow mode _Recognize_ faces instead of _Detect_ Faces.

I will retest the "scan Faces" will YoloV3 _un_checked, and just "Detect" activated and see if this works as well on that picture.

Again thank you Maik for your patience, i realize that I may sound a bit "dumb"  sometimes, for things that may seems obvious to you, as a programmer of this wonderful software suite.

Best regards,
Alexandre


-------- Message d'origine --------
De : Maik Qualmann <bugzilla_noreply@kde.org>
Date : 28/11/2021 22:23 (GMT+01:00)
À : alexandre.belz@live.fr
Objet : [digikam] [Bug 446187] Faces not detected

https://bugs.kde.org/show_bug.cgi?id=446187

Maik Qualmann <metzpinguin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |7.4.0
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #5 from Maik Qualmann <metzpinguin@gmail.com> ---
The YoloV3 face detection engine is not set as the standard because it is
significantly slower. The Caffemodel face detection is usually sufficient and
very fast. The YoloV3 engine is only superior for small and many faces in the
image.

Maik

--
You are receiving this mail because:
You reported the bug.