Main Menu

Tag for Person

Started by Tommes, December 30, 2020, 08:33:51 AM

Previous topic - Next topic

Tommes

Hello,

I managed my photos with Picasa until now.
Most person-tags are writen in XMP of the photo, but not all. The rest is stored in the picasa.ini files.
I tried to write it in XMP with picasa afterwards, but it doesn't work.

Now I want to use another software.
The new software can't read the XMP.

First question: what is the "Standard"-Tag for persons.
Is it the XMP oder something else.

Is there a possiblity to bring the persons from picasa.ini to these tag?

Tommes

StarGeek

The most standard tag to hold facial recog regions is the Metadata Working Group (MWG) Regions.  This is what Picasa writes and I believe LightRoom uses it as well.

There are three other standards, as far as I know.  Microsoft Regions, which was used by the old Windows Live Photo Gallery.  This is pretty much dead since the Photo Gallery software was discontinued.  The IPTC Extension Regions, which is pretty new, but I haven't heard of any software using it.  And the ACDSee Regions, which is pretty much exclusive to ACDSee.

There is the picasa_faces.config for exiftool to copy the regions from the picasa.ini file into either the MWG regions or the Microsoft regions.  It can be found on GitHub as part of the main exiftool repo.

What software is it that can do regions but doesn't read XMP, if you don't mind me asking?
"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

Tommes

Thank you for your fast answer.

I have a synology NAS and I am testing the new "Synology Photos" DSM7 Beta.
This software doesn't read the Picasa MWG until now.
Maybe the function will come in the future.

The picasa_faces.config for exiftool sounds interesstiing. I will have a look and report.

Tommes

Quote from: StarGeek on December 30, 2020, 11:43:22 AM
There is the picasa_faces.config for exiftool to copy the regions from the picasa.ini file into either the MWG regions or the Microsoft regions.  It can be found on GitHub as part of the main exiftool repo.

Now i had time to test the picasa_faces.config in ExiftoolGui.
I tested files from Picasa with NO XMP but with a "picasa.ini"-file in the same folder.

-config picasa_faces.config "-RegionInfo<PicasaToMWGRegion" -userparam PicasaContactsFile=C:\Users\contacts.xml

But there is a failure. The Log:

======== ./Testbild.jpg
Nothing changed in ./Testbild.jpg
    0 image files updated
    1 image files unchanged
Ignored -config option (not first on command line)
Warning: No writable tags set from ./PicasaohneSpeichern.jpg
<-END-

Can you detect the failure?

StarGeek

Quote from: Tommes on December 30, 2020, 05:43:04 PM
Ignored -config option (not first on command line)

That's your problem.  From the docs on the -Config option:
   If used, this option must come before all other arguments on the command line and applies to all -execute'd commands.
"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

Tommes

I don't understand the problem.
Isn't the -config option the first in my commond line?

Phil Harvey

ExifToolGUI must be inserting something else internally.

- 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

Ah, yes, I missed the part about using a gui.
"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

Tommes

Hmmm OK.

Now I work with the windows command line.

With the command:
exiftool -config picasa_faces.config "-RegionInfo<PicasaToMWGRegion" Z:\Bilder -userparam PicasaContactsFile=Z:\contacts\contacts.xml"

I get following reply:
Config file not found
Warning: No writable tags set from Z:/Bilder/PicasaohneSpeichern.jpg
    1 directories scanned
    0 image files updated
    1 image files unchanged


What is wrong?  :-\

StarGeek

Quote from: Tommes on January 02, 2021, 06:41:18 AM
Config file not found

What is wrong?  :-\

The error is right there.  If the config file isn't in the current directory or in the same directory as exiftool, you need to provide a full path to the config 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

Tommes

OK, it works.
Thank you!

The config-File was stored in an other folder than the .exe