Convert facetags from WLPG to Picasa

Started by raldo, August 27, 2012, 05:53:31 PM

Previous topic - Next topic

Phil Harvey

Thanks.  I got the files and was able to reproduce the warning.

The warning occurs when an input MP region is missing the PersonDisplayName field.  In this case, the output region Name is getting set to an undefined value, a warning is issued, and the output structure has an empty Name field.  This could be fixed in either the config file, or ExifTool, or both.  For now I will patch ExifTool to test for undefined structure fields and simply not add them in this case.  The difference will be that there will be no Name field at all in the output structure.

So what you have done should be fine, but in future ExifTool will avoid writing empty fields for values that don't exist.

- 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

This doesn't seem to work for tif files.  Does the config file need modification to do so.  I'm going from MWG to WLPG I"m getting the Warning:  No writable tags set from test.tif

StarGeek

Quote from: neebah on August 25, 2016, 12:22:50 AM
Warning:  No writable tags set from test.tif

There's no reason that it wouldn't work on a tif file.  The warning you're getting says there isn't a region to copy in your file.  What is the command you are using and what is the output of this command:
exiftool -g1 -a -s -XMP-mwg-rs:all -XMP-MP:all TifFile
"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

neebah

exiftool -config ExifTool_config_convert_regions "-regioninfomp<myregionmmp" FILE   

is the command that I'm using. 

rubpa

Hello!

With Picasa killed, I'm looking for alternatives with similar or better workflow for tagging & face tagging photos. This excellent thread gave me the required detail on the differences between WPG, Picasa, LR, etc.

Question (sorry, it's not exactly related to exiftool): what is the recommended lightweight tool (like IrfanView) to view face tags and regions? I want to see all marked rectangles and the names while viewing the photo.

StarGeek

Quote from: rubpa on August 29, 2016, 05:40:45 AM
Question (sorry, it's not exactly related to exiftool): what is the recommended lightweight tool (like IrfanView) to view face tags and regions? I want to see all marked rectangles and the names while viewing the photo.

I have yet to find one on Windows.  I know some paid photo management programs have it.  Lightroom 6 and IMatch 5, I believe have it.  But nothing for free that I can find.
"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

José Oliver-Didier

I am trying out the WLPG to MWG Regions config and works great! However I have a question pertaining to WGP People Tags with do not contain any regions. WPG allows the user to tag a photo with a People Tag without specifying a region. Thus, a photo with such a case, upon conversion using Phil's config I get:

     <rdf:li rdf:parseType='Resource'>
      <mwg-rs:Area rdf:parseType='Resource'>
       <stArea:unit>normalized</stArea:unit>
       <stArea:x>0</stArea:x>
       <stArea:y>0</stArea:y>
      </mwg-rs:Area>
      <mwg-rs:Name>Person Name</mwg-rs:Name>
      <mwg-rs:Type>Face</mwg-rs:Type>
     </rdf:li>

With the stArea and stArea values at zero.

I do not mind that, but I was wondering how other applications such a Lightroom, Photo Supreme or IMatch 5 handle such a case or if they support this scenario?

Thanks.
blog: http://jmoliver.wordpress.com
flickr:  http://flickr.com/jmoliver

Phil Harvey

Hi José,

Good question.   I don't have an answer to this, but it would probably be best not to write 0,0.  I'll change it for now to just not write the Area element if the WLPG region doesn't contain a Rectangle, but if this causes problems for some software then it may be best to ignore these regions entirely.

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

José Oliver-Didier

Thanks Phill! Maintaining the region name makes sense from an information preservation standpoint when converting from one format to another.
blog: http://jmoliver.wordpress.com
flickr:  http://flickr.com/jmoliver

José Oliver-Didier

Question - Where can one download the updated ExifTool_config_convert_regions?
blog: http://jmoliver.wordpress.com
flickr:  http://flickr.com/jmoliver

Phil Harvey

It is in the full Image-ExifTool (.tar.gz) distribution.  Also, you can find the latest version here at SourceForge.

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

Newsky

Unfortunately we do not speak English and can not explain the problem. I wrote down the essence of the problem in the video, I hope you can understand and maybe I can help get rid of this problem. Thank you!
https://youtu.be/_ut7DZ9-Cvo
Sorry for my english. I use Google translator

Phil Harvey

I think this is a problem with Geosetter, but attach the image that shows this problem and I will take a look.

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

Newsky

https://www.dropbox.com/s/ygvxhosf2ujqbgk/ExifTool_config_convert_regions_problem.zip?dl=0
Sorry for my english. I use Google translator

Phil Harvey

I downloaded the most recent version of Geosetter and I don't see this problem (although the tooltip font doesn't seem to support these characters).  Also, using ExifTool I don't see any problems with the metadata.

I suggest trying the most recent version of Geosetter, and if that doesn't work then send the problem image to the Geosetter developers.



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