Bug 375945 - Face detection not scanning my images
Summary: Face detection not scanning my images
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Detection (show other bugs)
Version: 5.4.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-03 11:12 UTC by Struan Lownie
Modified: 2019-12-23 14:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments
Debug as requested. (8.96 KB, text/plain)
2017-02-03 18:41 UTC, Struan Lownie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Struan Lownie 2017-02-03 11:12:35 UTC
I recently installed DigiKam and having added the folder from my NAS containing all of my images into my collection I navigated to Faces and clicked "Scan collection for faces" apon clicking OK I get about 30 seconds of activity and the progress bar progresses to 100% however no new faces are detected.

I have also tried specifying specific individual folders and see very similar results (progress bar finishes faster for small folders)

Below are my current database statistics, I would expect face detection for this number of photos to take several hours.

digikam version 5.4.0
Images: 
GIF: 60
JPG: 5684
RAW-NEF: 8751
total: 14495
: 
Videos: 
MP4: 10
total: 10
: 
Audio: 
MP3: 3099
WAV: 2
WMA: 355
total: 3456
: 
Total Items: 17961
Albums: 636
Tags: 26
: 
Database backend: QSQLITE
Database Path: C:/Users/Struan/Pictures/
Comment 1 caulier.gilles 2017-02-03 11:46:40 UTC
Install DebugView tool from Microsoft and when you run Face detection, report here all debug trace printed by digiKam.

Gilles Caulier
Comment 2 Struan Lownie 2017-02-03 18:41:45 UTC
Created attachment 103793 [details]
Debug as requested.

Debug log starts when DigiKam had finished loading, and saved once the Facedetection reported itself to be finished (5 seconds after start)

I was running Facedetection against a folder containing 8.48GB of NEF files, 609 images
Comment 3 Mario Frank 2017-02-03 19:00:15 UTC
(In reply to Struan Lownie from comment #2)
> Created attachment 103793 [details]
> Debug as requested.
> 
> Debug log starts when DigiKam had finished loading, and saved once the
> Facedetection reported itself to be finished (5 seconds after start)
> 
> I was running Facedetection against a folder containing 8.48GB of NEF files,
> 609 images

Acording to your log, it seems that you chose detect and recognise as option.
I'm concluding this from:

"...
00000010	13.10399723	[9788] digikam.facesengine: Face database ready for use	
00000011	13.12266350	[9788] digikam.general: Face PipeLine: add preview thread	
>00000012	13.12278080	[9788] digikam.general: Face PipeLine: add single thread detector	
>00000013	13.12292194	[9788] digikam.general: Face PipeLine: add recognition worker	
00000014	13.12304497	[9788] digikam.general: Face PipeLine: add database writer	
..."

This problem was already solved in this bug:
https://bugs.kde.org/show_bug.cgi?id=375375

So, this is a known bug in 5.4 which is fixed for the upcoming release 5.5, I woud say.

Seems to me like a duplicate, Gilles.

Struan,
can you test with the current 5.5 pre-release for Windows which is located here:

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Should be fixed.
Comment 4 caulier.gilles 2017-02-03 22:07:11 UTC
Maria,

It can be a duplicate, but already fixed bug is for Linux, this one is for Windows. So, we must considered not as a duplicate for the moment.

Gilles
Comment 5 caulier.gilles 2017-12-09 17:15:48 UTC
This problem still reproducible with current 5.8.0 - pre-release Windows bundle
available here :

https://files.kde.org/digikam/

Gilles Caulier
Comment 6 caulier.gilles 2019-03-15 10:30:44 UTC
Struan,

The 6.1.0 pre-release installer have been updated this morning. Please test and
report to see if you can reproduce the dysfunction:

https://files.kde.org/digikam/

Gilles Caulier
Comment 7 caulier.gilles 2019-12-23 14:20:16 UTC
With 7.0.0-beta1, we drop all Dlib deep learning code in digiKam in favor of
OpenCV Neural Network

https://download.kde.org/unstable/digikam/

This problem is not reproducible...

Gilles Caulier