Update Persons Tag - PersonInImage Tag Results Varied

Started by PandDLong, February 17, 2025, 12:36:58 AM

Previous topic - Next topic

PandDLong


I just updated the tag name for a Person in the Person Editor (I corrected my bad spelling).   It gave me the warning about updating all files, etc.   I proceeded - I only had 9 files.  (Still in IMatch 2023 - last version)

The regions were all updated correctly but the PersonInImage tag had two different results:

1. Six files had the identical tag with 12 names.  It was from one of the photos and was only applicable to that file.

2. Three files had the correct result with just the one name.  


The files were sorted by date order and the file with 12 names was 6th and all the files earlier than that one received the tag with 12 names.    The 3 files later than that file had the correct result.  I do not know which file had the focus when I changed the Person's tag.

I did a write-back of one of the files with 12 names - which has only one face region - and the incorrect PersonInImage tag persisted.

I tried the following with different "wrong" files (and wrote-back after each):

1. Manually corrected the PersonInImage tag - that seemed to work.
2. Delete the PersonInImage tag.  Did not work - it remained empty after write-back.
3. Opened the file in the Viewer and reset the name.   That seemed to work.
4. Opened the file in the Viewer and added another manual face annotation.  That kinda worked but not properly.


#4. When I added a manual face annotation, it set the order for it as '1' (there were 6 existing annotations) but put it last in the PersonInImage tag. The order could not be changed in the Viewer - it was stuck as '1'.

 This persisted through a write-back.    I then added a second manual face annotation and it was assigned order '2'.  It could be changed but only in relation to the other manual annotation that had been stuck at '1'.   

I had two independent annotation orders - the original 1-6 and then the new 1-2.   I have not had this before so I have no idea if it is related to the Person tag issue that started this or is entirely different.

I did a 'Force Update' rescan.  The person stuck in annotation order '1', can now be adjusted but some of the other annotation orders appear overwritten rather than clear. See the top face below (the annotation with the clear '2' was the one previously stuck at '1').
  
Screenshot 2025-02-16 162641.png


This odd writing persists through a write-back. Doing another Force Update - I can see that the original 6 annotations are being repeated - now there is 3 of each appearing on-screen.  Perhaps that can be expected with a Force Update?  The regions in the metadata and the PersonInImage tag are not repeated.

Sorry, a bit of a ramble and I have to wrap-up.

Let me know what you would like me to test or provide (I will be back online in about a day).


Michael

Mario

I think I have fixed this for the next release. I could reproduce it, at least the parts of your bug report I could understand.

To fix this on your end, just use the bring forward a face and then back again. This triggers the repopulation of the PersonsInImage tag, in the correct order (using the next IMatch release).