Delete WLPG/TTP People tag

Started by Bob22, September 09, 2022, 06:54:56 AM

Previous topic - Next topic

Bob22

I have used both Windows Live Photo Gallery and TagThatPhoto because it writes the people name to the jpeg without the need of xmp files.

Note sure if that means EXIFtools isn't the right tool, but am looking to remove the already tagged peoples names from the 2 columns highlighted (see picture attached) so I can use a different product and start from stratch

Any assistance would be greatly appreciated.


I've tried to follow some of the different topics and EXIF command tools but coding isn't my thing.
https://exiftool.org/forum/index.php?topic=12474.msg67429#msg67429
https://exiftool.org/forum/index.php?topic=8528.msg43810#msg43810


Bob22

I don't want to remove another info... just peoples names

Bob22

Quote from: Bob22 on September 09, 2022, 06:57:05 AMjust peoples names

Reading more - looks like I should also remove the Region info associated with peoples face tag

StarGeek

I don't know where TagThatPhoto writes, so you'll have to use the command in FAQ #3 to figure it out.

To remove just the names, but leave the regions intact, your command would be
exiftool -RegionPersonDisplayName= /path/to/files

To remove the Microsoft regions completely, you would use
exiftool -XMP-MP:all= /path/to/files
"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

Bob22

#4
Thanks StarGeek :)

ended up using
exiftool -XMP:all= /path/to/files

Is this a bad idea if wanting to start from stratch?


To remove the keywords tag, used a combination of
exiftool -EXIF:XPKeywords= /path/to/files
exiftool -IPTC:Keywords= /path/to/files




also, using exiftool --XMP-MP:all= /path/to/files
created a copy of the image with extension *.JPG_original

so I assume I can delete all these (if I'm happy with the changes)

StarGeek

Quote from: Bob22 on September 09, 2022, 06:22:07 PMexiftool -XMP:all= /path/to/files

Is this a bad idea if wanting to start from stratch?

It depends if there was any data at all that you might want to keep.  But nearly all cases, XMP data is added afterwords by various programs, so as long as you don't mind losing it, it's fine. 

QuoteTo remove the keywords tag, used a combination of
exiftool -EXIF:XPKeywords= /path/to/files
exiftool -IPTC:Keywords= /path/to/files

You can combine all the commands with
exiftool -XPkeywords= -Keywords= -XMP:All= /path/to/files/

Quotealso, using exiftool --XMP-MP:all= /path/to/files
created a copy of the image with extension *.JPG_original

so I assume I can delete all these (if I'm happy with the changes)

Yep.
"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

Bob22

Thanks StarGeek


if it helps anyone else in the future....and if I forget in the future....

do your own tests and use at your own risk  :o

exiftool -RegionPersonDisplayName= -XMP:RegionRectangle= -XMP:Subject= -XMP:LastKeywordXMP= -XMP:PersonInImage= -XMP:RegionName= -XMP:RegionType= -XMP:RegionRectangle= -EXIF:XPKeywords= -overwrite_original /path/to/files

Phil Harvey

You've got -XMP:RegionRectangle= twice in your command.  Also, if you are trying to delete all region information it may be better to delete the containing structure.  Use the -struct option when extracting to see the structures, and delete the structures by name instead of deleting the elements individually.

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

StarGeek

I would suggest the second command in my post above.  That will remove all the Microsoft region data since that seems to be your goal with your longer command.

Also, since you're removing the LastKeywordXMP, you might also want to remove LastKeywordIPTC as well.  You can remove both with a wildcard.

You can also simplify the command by removing the group names

exiftool -XMP-MP:all= -LastKeyword*= -Subject= -XPKeywords= -Keywords= /path/to/files/
"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

Bob22

thanks for your replies




----------------------------------
The more I learn, the less I know