Bug 435011 - Adding facetag on grouped pictures only applies to a single picture
Summary: Adding facetag on grouped pictures only applies to a single picture
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Albums-ItemGroup (show other bugs)
Version: 7.3.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-27 12:09 UTC by Andre
Modified: 2023-05-14 13:10 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre 2021-03-27 12:09:55 UTC
SUMMARY
Adding facemark on grouped pictures only applies to a single picture

STEPS TO REPRODUCE
1. Go to any album folder, select all, group by name
2. Open one group (e.g. double click)
3. Select facearea by CTRL + Mousedrag
4. Ungroup those pictures

OBSERVED RESULT
One picture has facearea, other does not. (There was a similar bug on grouped pictures concerning tags in 7.1.0 which was fixed before 7.2.0 release)

EXPECTED RESULT
Facearea applied to all pics 

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2021-03-27 14:37:35 UTC
No, this is definitely not a bug and it is not intended to apply a face area to the other images in the group.

1. You cannot assume that all of the images in the group are the same size or crop. Different image sizes could still be handled, but not different cuts.

2. You cannot assume that the face is in the same position when it comes to series images in the group.

Maik
Comment 2 Andre 2021-03-29 07:42:07 UTC
If you group e.g. RAW an d jpeg of same name it makes a lot of sense. The behaviour can be controlled in the preferences "group/metadata", where you can "yes/no/ask". Behaviour to act on grouped pictures was/is in version
before 7.1.0:
   Tags: Do
Comment 3 Andre 2021-03-29 07:45:46 UTC
(In reply to Maik Qualmann from comment #1)
> No, this is definitely not a bug and it is not intended to apply a face area
> to the other images in the group.

It used to be the behaviour before 7.2.0

> 1. You cannot assume that all of the images in the group are the same size
> or crop. Different image sizes could still be handled, but not different
> cuts.
> 
> 2. You cannot assume that the face is in the same position when it comes to
> series images in the group.

If you are acting on jpg and raw i you cann assume same position. In case you do not intent to act on all pics you can set preferences "group/act on metadata" (not sure about english entry) to "yes/no/ask"
Comment 4 Maik Qualmann 2021-03-29 08:03:23 UTC
digiKam has never applied manually created face rectangles to other images in the group. If you want to use face recognition, you should use automatic face detection and not draw the face rectangles manually.

Maik
Comment 5 Andre 2021-08-14 09:10:28 UTC
Still applies on 7.3.0, USED TO work correctly before 7.2.0.
Face detection is not an option especially for faces photographed from the side an d faces which are relativ small in photos with higher definitions. To reinstall the behaviour is not a problem, as there is an option to do/do not/ask for apply operations on groups.
If you group RAW and Jpeg by name you have double work converning faces (ungrouping, set rectangle for any format, regrouping). That's why I would really appreciate removal of this bug.
Comment 6 Maik Qualmann 2021-08-14 09:31:02 UTC
I don't think we will implement it, not all users use grouped images for JPG and RAW only.
And no, even before digiKam-7.2.0, face regions were not automatically applied to all images. If it is only about tags, the corresponding setting must be selected in the digiKam settings for grouped actions so that tags are applied to all images in the group.
Use the Yolo v3 face detection and even the smallest faces will be detected.

Maik
Comment 7 caulier.gilles 2023-05-14 13:10:01 UTC
Following the responses from Maik, i close this file as NOT A BUG.