ExifTool Forum

ExifTool => Newbies => Topic started by: Tommes on December 30, 2020, 08:33:51 AM

Title: Tag for Person
Post by: Tommes on December 30, 2020, 08:33:51 AM
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
Title: Re: Tag for Peron
Post by: StarGeek on December 30, 2020, 11:43:22 AM
The most standard tag to hold facial recog regions is the Metadata Working Group (MWG) Regions (https://exiftool.org/TagNames/MWG.html#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 (https://github.com/exiftool/exiftool/blob/master/config_files/picasa_faces.config) 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?
Title: Re: Tag for Person
Post by: Tommes on December 30, 2020, 12:41:06 PM
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.
Title: Re: Tag for Peron
Post by: Tommes on December 30, 2020, 05:43:04 PM
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 (https://github.com/exiftool/exiftool/blob/master/config_files/picasa_faces.config) 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?
Title: Re: Tag for Peron
Post by: StarGeek on December 30, 2020, 06:24:46 PM
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 (https://exiftool.org/exiftool_pod.html#config-CFGFILE):
   If used, this option must come before all other arguments on the command line and applies to all -execute'd commands.
Title: Re: Tag for Person
Post by: Tommes on December 31, 2020, 02:38:06 AM
I don't understand the problem.
Isn't the -config option the first in my commond line?
Title: Re: Tag for Person
Post by: Phil Harvey on December 31, 2020, 07:44:48 AM
ExifToolGUI must be inserting something else internally.

- Phil
Title: Re: Tag for Person
Post by: StarGeek on December 31, 2020, 10:54:24 AM
Ah, yes, I missed the part about using a gui.
Title: Re: Tag for Person
Post by: Tommes on January 02, 2021, 06:41:18 AM
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?  :-\
Title: Re: Tag for Person
Post by: StarGeek on January 02, 2021, 11:07:27 AM
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.
Title: Re: Tag for Person
Post by: Tommes on January 03, 2021, 03:42:50 AM
OK, it works.
Thank you!

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