Mwg regions face tagging

Started by neebah, August 17, 2016, 07:44:45 AM

Previous topic - Next topic

neebah

I'm writing a little application for face tagging as I don't trust Picasa or Microsoft.  This will call exiftool directly.  What commands should I use to place the face info in the Mwg regions xmp info

Phil Harvey

...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 ($).

neebah

Okay I think I have the jist of what to do from the documentation.  Since I'm storing to mwg should I used -XMP-mwg-rs  instead of -RegionInfo

Phil Harvey

RegionInfo is a structured MWG tag.  See the  MWG Regions tags documenation for details.

- 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 ($).

neebah

Okay I've got how the INFILE works with adding an entire face to the MWG region.  Is it possible to target a face by description or name and change just the name and leave the other parts the same or vice versa. 

StarGeek

I haven't tried anything like that but I faintly remember something previously posted...

From the Structured information page:
"When deleting and adding back items in lists in the same command, new items are inserted at the point in the list where the first item was removed, or at the end of the list if no items were deleted. This applies to lists of structures as well as simple lists of string values, and provides a mechanism to replace a specific structure or field."

Also, just doing a substitution from this post.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype