Bug 442686 - Face suggestion does not disappear if the same face has already been tagged in another device
Summary: Face suggestion does not disappear if the same face has already been tagged i...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Maintenance-Faces (other bugs)
Version First Reported In: 7.4.0
Platform: Flatpak Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-19 10:36 UTC by MarcP
Modified: 2021-09-19 18:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 7.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MarcP 2021-09-19 10:36:43 UTC
SUMMARY
I don't know if it's technically a bug or an improvement suggestion.

Let's say you scan for faces in a new batch of pictures. Some suggestions appear in the People tab.

Now imagine that from another computer, using the same pictures, scan them for faces and you tag the people in it. Data is saved in the picture metadata.

The next time you open the first computer, these changes will be detected, and the new metadata will be loaded onto digikam. However, the face suggestions will remain in the People tab as if they are still unknown.

I believe they should disappear if that face has already been tagged.


STEPS TO REPRODUCE
1. Computer 1: scan for faces and wait for results.
2. Computer 2: do the same and tag the faces. Save metadata to files.
3. Computer 1: re-read the metadata.

OBSERVED RESULT
Computer 1: new metadata will be read (including face region metadata in XMP), but the the face suggestions will still be there, as if the person is unknown.

EXPECTED RESULT
Face suggestions that have already been tagged in the metadata should be updated, and disappear if the person has already been identified.

SOFTWARE/OS VERSIONS
Digikam 7.4.0 (Flatpak)
Build date: 18/9/21 10:27 (target: Debug)
Rev.: 8a6031329affb33eb7288c86433ac14e911dc89c

On Ubuntu 20.04 LTS
Comment 1 Maik Qualmann 2021-09-19 18:35:55 UTC
Git commit 801ac736b50607ddf67fbc0a597b3ab06ebee00b by Maik Qualmann.
Committed on 19/09/2021 at 18:34.
Pushed by mqualmann into branch 'master'.

fix item scan confirmed face regions in the database
FIXED-IN: 7.4.0

M  +1    -1    NEWS
M  +10   -1    core/libs/database/item/scanner/itemscanner_photo.cpp

https://invent.kde.org/graphics/digikam/commit/801ac736b50607ddf67fbc0a597b3ab06ebee00b