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

            Bug ID: 461838
           Summary: All face thumbnails in a picture are recreated after a
                    face is tagged, which is not optimal performance-wise
    Classification: Applications
           Product: digikam
           Version: 8.0.0
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Faces-Workflow
          Assignee: digikam-bugs-n...@kde.org
          Reporter: iwannaber...@gmail.com
  Target Milestone: ---

SUMMARY
I believe it was already mentioned in another bug report, but today I had to
face-tag a series of pictures of a family reunion which included more than 20
people each, and it reminded me that I could mention this to you developers. 

During the face-tagging process, I had to wait minutes between each tagging
because digikam reconstructs all the face miniatures in a photo after any
modification. And I'm not sure if the picture file needs to be accessed for
each miniature, but they are generated one by one. 

That means that if there are 20 faces on a picture, and it takes 3 seconds to
recreate the thumbnail, I will have to wait a minute to tag a face in the same
picture. Moreover, this inconvenience is aggravated by what was described in
bug 395241, in which faces only load as you scroll through them.

I'm sure there's a reason why this is done this way, but wouldn't there be a
more efficient way? Face positions or content is not something that change when
a face is tagged, so previously existing faces wouldn't need to be refreshed.
Or if the refresh is compulsory, why not temporarly show the "old" face before
re-generating it, so it doesn't appear blank all that time? 
I've seen that what other pictures managers do, is to temporarly use a
zoomed-in fragment of the main picture before loading the high-resolution face,
in order to prevent blank thumbnails while they are being constructed.

What do you think?

PS: sorry if it came out as a bit of rant, it wasn't my intention, I was just
brainstorming for possible improvements. Keep up the good work!


STEPS TO REPRODUCE
1. Take a picture with multiple people in it, and scan it for faces. Wait for
the scan to finish
2. Go to the People panel, "Unknown" category, so the faces on the picture are
ready to be tagged
3. Tag one of the faces. 

OBSERVED RESULT
- All the rest of the faces in that picture become "blank" for a while, and
they are regenerated one by one, taking some time for each one (depending on
the file access speed).

EXPECTED RESULT
- The rest of the faces don't need to be re-generated since the content of the
picture hasn't changed, only the metadata.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Kubuntu 22.04 LTS
digiKam-8.0.0-git-20221108T185710-x86-64.appimage

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to