Face tag list

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

vernbeau
Posts: 12
Joined: Sun Feb 21, 2021 5:00 pm

Face tag list

Post by vernbeau »

I ran TagThatPhoto on 40,000+ photos and now have a .txt list of the names
of all the faces. Is there a way to provide that as input to XnView? I tried to
copy to .../appdata/roaming/xnviewmp/tagface_history.ini but that did not work.
The file appears to be more of an output than input.
Franky
Posts: 245
Joined: Fri Mar 06, 2020 1:28 pm
Location: France - BZH

Re: Face tag list

Post by Franky »

If you have tagged the images and then placed this info in an XMP, XnViewMP knows how to import them.
To do this, you must have checked in the parameters/metada/import face tag xmp
vernbeau
Posts: 12
Joined: Sun Feb 21, 2021 5:00 pm

Re: Face tag list

Post by vernbeau »

I did have that option checked.
Franky
Posts: 245
Joined: Fri Mar 06, 2020 1:28 pm
Location: France - BZH

Re: Face tag list

Post by Franky »

And have you updated the catalog with this files?
vernbeau
Posts: 12
Joined: Sun Feb 21, 2021 5:00 pm

Re: Face tag list

Post by vernbeau »

I have about 80 folders. Is there a way to select them all to run the update on?
Franky
Posts: 245
Joined: Fri Mar 06, 2020 1:28 pm
Location: France - BZH

Re: Face tag list

Post by Franky »

In folder panel, you select your disk and with right click "show all files".
CTRL +A, for selected all files and menu/view "update catalog from files"
vernbeau
Posts: 12
Joined: Sun Feb 21, 2021 5:00 pm

Re: Face tag list

Post by vernbeau »

Thanks Franky. That did reload the catalog from all the files.
Unfortunately, the choice list for face names was not updated.
When entering a name in the Face Tag screen, it doesn't auto fill the list when typing.
For example, If I type in Mike, it doesn't show the 5 different Mike names that are in my photo regions.
User avatar
michel038
XnThusiast
Posts: 1291
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: Face tag list

Post by michel038 »

Perhaps try to restart XnViewMP to update face tags count ?
vernbeau
Posts: 12
Joined: Sun Feb 21, 2021 5:00 pm

Re: Face tag list

Post by vernbeau »

Thanks for the suggestion. Tried a full reboot, didn't help.
User avatar
michel038
XnThusiast
Posts: 1291
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: Face tag list

Post by michel038 »

After rereading I understand better, but your 1st message was clear ... (The need to restart XnViewMP concerns only the people count in the catalog filter)

I edited the tagface_history.ini file myself, added a lot of persons, and it works fine...
The format of this file is a list, one name per line.
To be sure of the location of this file (the right one that is used) , look in Settings > Intergration > Paths
vernbeau
Posts: 12
Joined: Sun Feb 21, 2021 5:00 pm

Re: Face tag list

Post by vernbeau »

Thanks Michel,
Yes, I did put the file in the correct location as per the original post.
When I ran it the first time, the names appeared exactly as I had expected.
I then added a new face region, saved it, and exited XnView.
At that point, the tagface_history.ini file had the new name added to the top of the list,
but only the first 46 lines of the original 583 face names remained.
The remainder had been truncated/deleted.

-Vern
User avatar
michel038
XnThusiast
Posts: 1291
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: Face tag list

Post by michel038 »

Right, I hadn't noticed that this file was truncated at around 50 lines. :(