Bug 508198 - AI Facial Detection Is Not Working Correctly - It is no longer detecting faces
Summary: AI Facial Detection Is Not Working Correctly - It is no longer detecting faces
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Detection (other bugs)
Version First Reported In: 8.7.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-13 15:21 UTC by Alan
Modified: 2025-08-13 20:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan 2025-08-13 15:21:47 UTC
The AI Facial Detection has stopped detecting faces with DigiKam 8.7.0.  This was working previously in 8.6.0.  I have a large amount of Photos still Unconfirmed, and now having to do these manually,
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2025-08-13 15:30:43 UTC
Which kind of database type did you use ?
Do you upload all necessary DNN model files ?
Can you provide a debug traces while face detection is working ? Look at this url for details : 

https://www.digikam.org/contribute/#windows-host

Best regards

Gilles Caulier
Comment 2 Alan 2025-08-13 16:25:53 UTC
Hi, I was using SQLite, but currently I am migrating over to MariaDB to see if this changes anything.  I also had to locate additional DNNs that were not included in the installation package for Windows (I had also raised another bug report, as the lack of these in the installation package was throwing GPU detection Errors for OpenGL/C,L which my Graphics Card supports.)

I updated the alternative case ref no 508199 with the GPU stuff which seems to be connected to this issue

Got them at :

https://files.kde.org/digikam/facesengine/dnnface/
https://files.kde.org/digikam/facesengine/shape-predictor/



Alan
Comment 3 Maik Qualmann 2025-08-13 20:19:52 UTC
You don't have to download any DNN files manually. digiKam will prompt you to do this with a download dialog if it detects missing files.

And that makes it clear what's wrong with you: you've disabled face engine in the download dialog.

Go to the digiKam setup under Miscellaneous -> System and click the Download Dialog button; everything else is self-explanatory. Don't forget to restart digiKam after the download.

Maik