Copy PersonInImage to RegionPersonDisplayName to find people in Everything

Started by biofunc, January 05, 2025, 02:47:18 PM

Previous topic - Next topic

biofunc

Hallo

I use the program Everything and would like to use it to search for people in photos.

I found out that it works if there is the tag "RegionPersonDisplayName" in the xmp. In Lightroom, however, the tag "PersonInImage" is saved. I thought I could copy this tag with the following command:

"C:\Program Files (x86)\exiftoolgui\ExifTool.exe" -r -ext jpg -ext tiff -ext tif -ext dng -overwrite_original "-XMP-MP:RegionPersonDisplayName<XMP-iptcExt:PersonInImage" "E:\PathToPhotos"

But I get error messages for some of the photos:

- Warning: [minor] Bad IDC_IFD SubDirectory

- Warning: [minor] Excessive number of items for crs:MaskGroupBasedCorrectionsCorrectionMasksMasksDabs. Processing may be slow

- Warning: [Minor] Extracted only 1000 crs:MaskGroupBasedCorrectionsCorrectionMasksMasksDabs items. Ignore minor errors to extract all

- Warning: [minor] Excessive number of items for crs:MaskGroupBasedCorrectionsCorrectionMasksMasksDabs. Processing may be slow

- Warning: No writable tags set from.

Before I apply the command to my entire photo collection, I would be grateful for a hint as to what the correct command should be.

Thank you very much
biofund

StarGeek

The minor warnings can be ignored. The important issue is "No writable tags set from". That means that PersonInImage doesn't exist in the file, so there's nothing to copy from.

Use the command in FAQ #3 to see all the tags in the file, including duplicates, and the groups they belong to. Look over the output to figure out where the names are actually stored.

What are the options you are using with Everything? I don't see anything under Searching that indicates it will read anything more than the basic data in an image file.

"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

biofunc

Thanks for the tips.

In some of the photos, no faces of people are recognized. So the warning: "No writable tags set from" is okay.

In the photos found and labeled with Lightroom using face recognition, the names of the people are only in some of the photos in the xmp "PersonInImage". I can't explain why.

For photos found and labeled with Lightroom with face recognition, the names of the people are always in XMP-mwg-rs:RegionName"

I have therefore now adapted the command:
"C:\Program Files (x86)\exiftoolgui\ExifTool.exe" -r -ext jpg -ext tiff -ext tif -ext dng -overwrite_original "-XMP-MP:RegionPersonDisplayName<XMP-mwg-rs:RegionName" "E:\PathToPhotos"

That seems to work.
But the warning for *.dng files: Warning: [minor] Bad IDC_IFD SubDirectory start looks worrying. I hope that there will be no problems with other programs that read xmp tags later.

In Everything you can search for properties with the name "people". I have been using version Alpha 1.5x for some time. You have to change the tag "people" in Activate the settings and you can also set which file types or directories should be scanned for the tag.

You can now also search for these people in Windows Search. In the German version with "Kontakte:NameOfThePerson" (I don't know which tag works in English. In the German version, "contacts:NameOfThePerson" doesn't work).