Auto-confirm faces not working properly?

Started by birdbrain, August 23, 2021, 10:21:26 PM

Previous topic - Next topic

birdbrain

In Preferences>Face Recognition I have:

  Automatic Face Recognition: Yes
  Automatically confirm faces: Never

Sometimes IMatch applies a confirmed face on an image.

I assumed this means detect faces, but apply an unconfirmed name. I would then confirm (click the check mark, use face manager, etc).

I checked in Help and could find no mention of the "Automatically confirm faces" setting.

BTW, this occurred with IM 2020 and now with 2021 also.

Have I misinterpreted the settings?

Thank you,  Joe

Mario

I have spent some time tracing this and I could not find a situation where the confirm setting is not applied.
When this setting is "never", IMatch does not set the confirm setting when finding faces and persons during ingest or during automatic re-clustering after the user has assigned a person to a face.

I was fooled once, after adding a image which showed up with a confirmed face.
But that image had an XMP face region with a tag (set by IMatch or another application) and this naturally creates a confirmed face.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

birdbrain

Quote from: Mario on August 24, 2021, 10:45:23 AM
When this setting is "never", IMatch does not set the confirm setting when finding faces and persons during ingest or during automatic re-clustering after the user has assigned a person to a face.
I take this to mean never apply a confirmed name during "detect faces"...if a face is recognized, add the name but unconfirmed.  Always, no exceptions.  Correct?

Quote from: Mario on August 24, 2021, 10:45:23 AM
I was fooled once, after adding a image which showed up with a confirmed face.
But that image had an XMP face region with a tag (set by IMatch or another application) and this naturally creates a confirmed face.

I took a photo, erased all names, saved back to file.  Using MD analyzer, I found no "PersonInImage" / region data.  Ran face detection and confirmed names appeared.  Checked with MD analyzer again and PersonInImage data was there.

Shouldn't those faces all appear with unconfirmed names?

Mario

Send me this file (in the state which causes the person to be confirmed when never is enabled).
Which IMatch version are you using?

When I do the same, no faces are confirmed. support email address Make sure to include a link to this thread.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

birdbrain

Will do and I appreciate your offer to look further.

But would appreciate answers to my two questions in bold.

I want to be sure I am not expecting something that is not intended, and therefore wasting your time and mine.

Mario

Faces will be detected, persons assigned, but not confirmed.
This is how this should work, this is how this works here. No issues were ever reported related to this so I need more info.

Basically, the idea is to let IMatch confirm faces when it is sure or very sure. The AI is excellent and not allowing it to confirm faces causes a lot of extra work for you.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

birdbrain

Thank you - clear answer and make sense.

Sent files to support email.


Mario

#7
I have downloaded the images, thanks.

I switched IMatch to automatic face recognition and to "never" confirm automatically.

In the first folder, there are four images.
1. E001-0074 After scanning (Aug 2020).jpg contains no XMP face regions.

2. E001-0074 After Detect Faces (Aug 2021).jpg is the same image, but it contains XMP face regions and PersonsInImage tag.
IMatch imports these face annotations and uses the tag to create persons and confirm them. This is the expected behavior.

3. E001-0074 After erasing faces (Aug 2021).jpg, same, no XMP face regions.

Not sure about the single image in the other folder?

When I import these images, only image 2 shows up with tagged (and confirmed) faces, images 1 and 3 show up with face annotations only.
Image 1 (and 3) have not all faces recognized (due to the default setting I use). I open it in the Viewer, remove all face annotations and let IMatch search for faces again with F6 (the Viewer uses the "Optimize for small faces" setting). This detects all faces in the image and also assigns persons (the "newer" option is only used for the automatic recognition).
Both tests work as expected.

Now I do a second test:
I remove all images from the database, except image 3 which has face annotations with confirmed
This keeps the persons in the database and one face for each person.
Now I add the other images again. IMatch scans them for faces and assigns persons to some faces. But none of the faces is confirmed.

This is the expected result.

I could not produce a situation where a face was confirmed. Not with these images and not with my own images. This was also never reported by other users.

Looking at the other email you've send a few days later you write "When I run Detect Faces" (...) faces are confirmed.
This is correct. When you manually run the face detection command, faces are assigned and confirmed as needed.

The "never" option only applies to the automatic "reclustering" of persons (in the help automatically assigned person), when IMatch analyzes faces for matches after you have confirmed or trained a face. And for automatic face recognition during import. Not when you manually perform a face recognition using the commands or in the Viewer.
The internal name is actually "AutoReclusterConfirmMode". This was too complicated for the user-facing name so I used "Automatically confirm faces".

This can me misleading, I guess. I shall update the tip text and the help topic.
Looking back, I'm not even sure why I've added the Never setting in 2019 when developing this.
I guess (maybe except you) all users keep the default setting for this.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

birdbrain

Thank you for taking the time to evaluation my photos.

Also appreciate that reconsidering implementation of the "Never" setting.

Quote from: Mario on August 25, 2021, 09:46:33 PM
Basically, the idea is to let IMatch confirm faces when it is sure or very sure. The AI is excellent and not allowing it to confirm faces causes a lot of extra work for you.

IMO: IF "Never" truly meant IMatch never confirmed but only suggested faces, this would actually be a less work for me. Once when IMatch is well-trained, so to speak, I would then allow it to confirm automatically. Perhaps a matter of each user deciding which is better for their photos: the effort to automate detection and fix incorrect matches versus effort to manually confirm until comfortable.

I guess this is a feature request and I can post it as such for your consideration.

Thank you.