[Feature] Merge Faces from Metadata with detected faces #15107
Replies: 5 comments 4 replies
-
|
my guess the tags come from xml are bad i tried with Lightroom and exported it to immich ended up same, |
Beta Was this translation helpful? Give feedback.
-
|
Is this really needed? This is probably going to get a little bit messy... i would be statisfied, if the face tags generated by immich would be just somehow "exportable" in a format, that other software (Digikam, XnView, etc.) is able to read or extract. |
Beta Was this translation helpful? Give feedback.
-
|
I think the way forward for something like this is a comparison from a % of size perspective. For example if Immich detects a region that overlaps say 90% (guessing at an appropriate % here) with a region from metadata, it should assume those two faces are the same. Using a % should help with different size faces rather than an absolute like number of overlapping pixels. It would be super nice if Immich had a function somewhere that could report these overlaps and "correct" them if the user confirmed. For example, metadata said this face was here....Immich detected it here (overlapping by 90%). If user confirms, update the pictures metadata to match Immich's face region. |
Beta Was this translation helpful? Give feedback.
-
|
I'm facing the same. My photos are mounted via external library and parts already tagged with faces by Lightroom. Now every photo contains two face regocnition boxes and will shown twice by searching via mobile app. |
Beta Was this translation helpful? Give feedback.
-
|
Using V2.3.1 After time each asset will show two faces. One with the name from metadata and the other recently detected. The bounding boxes look to be identical. When I name the version without a name, it will integrate with the correct person. No duplicated faces or regions after that. So I can just manually name all these new detected faces since I have the names from the metadata and they shows up in the asset info screen. Thanks for adding the face import option. Not sure when it was added. I've been on v1.135 for a while I'm working to update my api calls for v2.3 but, it would be great if there was a automagical way of combining faces based on bounding box cords. In V1.133.x This snip does not show an example of two faces with the same bounding box but it is a start. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have searched the existing feature requests to make sure this is not a duplicate request.
The feature
In #4348 immich implemented reading face metadata from files.
These faces show up in the people view, etc but they are often duplicated with immich's own detected faces. When there is a significant overlap with an ML detected face immich should merge the detected faces with the one provided by metadata (and ideally their linked groups too).
My observation is that most detected face bounding boxes detected by digikam very closely match the size and shape of the bounding boxes generated by immich for the same faces so this would be very useful for portability.
Platform
Beta Was this translation helpful? Give feedback.
All reactions