Face Thumbnails are sometimes stored with incorrect Size/Position

Started by Tveloso, June 09, 2025, 08:46:11 PM

Previous topic - Next topic

Tveloso

I'm not sure under what conditions this happens, but occasionally I find (within the Confirmed Faces for a person in Face Manager), that several Face Thumbnails do not actually show the person's face, but instead some other part of the image (sometimes quite far away from the face).

This seems to happen with Manual Face Annotations (but I think I might have seen it with real faces as well - although all the current examples I found while checking into this today were for Manual Faces).

When this happens, the Face Annotation as shown in the Viewer looks proper, but the Face Thumbnail, and the region shown in Face Manager's integrated Viewer, are not properly placed.  For example, all six of these Face Thumbnails should look like the third one (enclosing just the person's face), but they instead contain a much larger portion of the image:

    FaceThumbnail-1.png

If I select the fourth thumbnail, and select Goto->Folder:

    FaceThumbnail-2.png

...the Face Annotation shown in the Viewer looks proper:

    FaceThumbnail-3.png

...(so the Face Thumbnail in Face Manager does not agree with the region enclosed by the Face Annotation). 

If I move that Face Annotation slightly, and click the blue checkmark:

    FaceThumbnail-4.png

...the Face Thumbnail back in Face Manager becomes correct:

    FaceThumbnail-5.png

This behavior has been present over several IMatch Versions (not just under IMatch 2025), so I have accumulated these "incorrectly Placed and/or Sized" Faces in Face Manager over time.  It's a very small percentage of the Face Thumbnails there, but not an insignificant number.
--Tony

mastodon

I have seen this behavier, too. This was in every version, and not changed (not get worse or better). In Picasa it never happened.

Mario

The only time I have seen this is 

a) IMatch has imported face regions from XMP, and these face regions are wrong
b) The user has changed the dimensions of the image, which invalidates face regions

Do you have steps to reproduce this? A specific image where this happens? Because this should never happen.
When IMatch detects a face, it records the bounding rectangle in relative coordinates in the range 0..1.
The face thumbnail and face fingerprint is produced from that region, too. The Viewer and Quick View Panel use the same rectangle to display the green face box. So it should be right or wrong everywhere.

Please detail the workflow and steps which produce this behavior.
Since I have never seen this before, and until today, no user ever reported this, every detail counts.
Please both of you compare notes, workflows, etc. and maybe we can figure out what exactly you do that causes this. When I can reproduce it, I can fix it.

After creating maybe 300,000 face annotations in my test database, I have never seen this issue.

mastodon

I need some days, and do a test from face tag cleared versions of images, that has this problem.