Main Menu

Face Tags and Workflow

Started by JEXIF, June 01, 2025, 02:49:56 PM

Previous topic - Next topic

JEXIF

What is the procedure to add a Face Tag to an image in the GUI version of Exiftool? Is it through XMP?

Has anyone found a good workflow for recognising faces and tagging them?

Eventually they will go onto a Synology NAS but I also use through Lightoom Classic and a new program I am testing called Excire.

FrankB

ExifToolGui can not do face recognition. You can use it to view/edit regions. ExifToolGui stores the info in XMP.
GUI Docs

Recognising faces should be done with other software. For example DigiKam: Digikam.org

Frank

JEXIF

#2
Thanks for the reply. Yes I know it can not do face recognition but can it edit the face tags manually? If I want to add a name to an image through Exiftool what would be the correct field and command to use for this?

There are many face regcognition software programs but many can not write and edit the tags or it just using a field like Keywords. I was going to maybe do this through Exiftool GUI manually.

I am wondering if I can go through a photo album manually and add the names as tags which are then readable in other software as People or Face Tags? I am just not sure how to do this.

I use the GUI version of the software.

Currently I am using Lightroom Classic (but it is a slow procedure to tag). Lightroom is using the Keywords field for the tags. These Tags show in Synology Photos but not as People only as Tags (which is still useful). Is there other fields that I should also copy this information into to make them accessible in most programs?

FrankB

Quote from: JEXIF on June 02, 2025, 01:32:11 AMI use the GUI version of the software.

The term GUI is sometimes confusing. I mean this program here: https://github.com/FrankBijnen/ExifToolGui

Quote from: JEXIF on June 02, 2025, 01:32:11 AMIf I want to add a name to an image through Exiftool what would be the correct field and command to use for this?
With that GUI version you can do that. Check this link mentioned in the previous post. GUI Docs
Using the "Show Log Window" you can see the ExifTool commands issued. That will give you an idea.

JEXIF

Thank you for the reply. I did not mean to cause any confusion. I believe there is only two version of Exiftool, the command line and the GUI version (Graphical user interface). They work differently so it good to show which one I am using. No point in getting instructions for the wrong version of the software and most probably use the Command line version. Is there a better name I can call it rather than GUI version?


Thank you for those instructions. I will check this out. I was looking for a way to edit the field directly rather than tag the faces in the photo. I am trying to figure out the correct fields for this.

I have been looking into this more. I am able to use other software to create Keywords in the Keywords field for an image through Lightroom or Excire. These show as Keywords or Tags in Synology Photos but NOT as People.

I believe there is a field for 'Person Shown' IPTC Ext:PersonInImage.

What would be the code to copy the Keywords field to the PersonInImage field in the ExifTool GUI version?

What is the code to direct add manual text to this field directly?

I can not seem to figure out what I need to type as a command. Thank you

FrankB

Quote from: JEXIF on June 02, 2025, 03:28:23 AMWhat is the code to direct add manual text to this field directly?

You can tell what commands GUI uses, by first opening the Log Window, and then using the GUI to make the modifications you want. See this screenshot.
log window.jpg

Maybe Stargeek, or Phil, have different/better options?

JEXIF

I used this code to directly add to the field (it is in the XMP section):

-PersonInImage="Name 1*Name 2*Name 3"

This is adding to the correct field. I still need to test with other software.


What do I need to type to copy the Keywords to the PersonInImage field?

JEXIF

My ExifTool Log is not the same view as that. It is blank. I do not seem to be able to attach on image to this post.

I also do not have a Region tab as shown in the previous instructions.

If I can just figure out a code to fill in all the fields related to Person In Image and copy from the Keywords I believe that is all I need for now.

I was thinking something like:

"-PersonInImage:Keywords" "-RegionPersonDisplayName:Keywords" "-EXIF:PersonInImage:Keywords"

But with all the fields related to Person In Photo. This however is not working. I am not that skilled with using this software outside of editing the dates.

FrankB

#8
Quote from: JEXIF on June 02, 2025, 03:51:59 AMMy ExifTool Log is not the same view as that.

Get the latest version here:https://github.com/FrankBijnen/ExifToolGui/releases

This is what GUI uses for PersonInImage:
personinimage.jpg

But again Stargeek, or Phil, may have better suggestions

JEXIF

#9
Thanks for your help. Okay I will wait and see what others suggest.

I basically want to go through all my photos and embed all the tags related to a person into the image files permenantly. This way any software will recognise the people in them especially my Synology Photos.

I can use Lightroom with Keywords/Tags but I am trying to figure out People / Faces fields for tagging.

Thank you

Phil Harvey

I can't really help with what tags are best to use.  This depends what other software you are using and what it supports, and I'm not an expert on other software.

Searching the forums for suggestions by others may yield some hints.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

JEXIF

I have been using the Keywords field for now and a dded the names to here.

I am just having difficulties locating what fields are available and creating a basic command in Exiftool GUI to copy the Keywords field to all the other relevant fields like PersonInImage etc

FrankB

Your question is what we in the Netherlands call a 'grey area'. Meaning you need to know more about both ExifTool and ExifToolGUI.
The order (IMHO) is this.
- First you need to establish which tags you need to use. (That is the ExifTool area)
- After that how to use that in GUI.

Gui has a few tags built-in that come close, but may not be sufficient in your situation. As Phil pointed out: It depends on what other software you are using. You could try this method:
- Find a file (JPG/MP4) that has the data as you want it in the other software you are using.
- Lookup that file in GUI and check the ALL tab.
- Find the data using the 'Find EDIT box'
- Add it to the User-Defined filelist, or workspace.

addtags.jpg

filelist:

aboutphoto.jpg

workspace:
ws.jpg

Frank