Bug 472031 - Faces detection gets worse with lots of faces to train on
Summary: Faces detection gets worse with lots of faces to train on
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Recognition (show other bugs)
Version: 8.0.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-07 06:56 UTC by iain
Modified: 2024-11-02 22:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iain 2023-07-07 06:56:06 UTC
I believe that using the "Clear and re-build all training data" for face detection makes the detection worse with the more faces you have tagged.

Initially I manually tagged 4-5 faces of a few people and detected faces (I have around 10000). The initial scan went well and I'd say it was 80% accurate.
As I tagged more people manually and rebuilt the training data the new Recognise Faces runs got worse.
I now have 2000+ faces tagged over 50+ people and the accuracy is almost 0.

I believe that it now has too much training data and the faces are too different across all the images to train a model properly. I'm not sure how other engines cope with this problem. (e.g. I am now tagged over 1000 times in my albums).

What might be a simple workaround is to allow a user to choose 4-5 good images for each person and use those as the training set rather than trying to use every example.
Comment 1 Maik Qualmann 2023-07-07 08:32:36 UTC

*** This bug has been marked as a duplicate of bug 431797 ***
Comment 2 Maik Qualmann 2024-11-02 22:56:28 UTC
Git commit c003f95327d1239378241226140f9098b989e52e by Maik Qualmann, on behalf of Michael Miller.
Committed on 02/11/2024 at 22:56.
Pushed by mqualmann into branch 'master'.

closing tickets
Related: bug 469329, bug 431797, bug 415782, bug 464266, bug 423113, bug 444160, bug 436544
FIXED IN: 8.5.0

M  +8    -8    NEWS

https://invent.kde.org/graphics/digikam/-/commit/c003f95327d1239378241226140f9098b989e52e