Showing posts with label DNG. Show all posts
Showing posts with label DNG. Show all posts

Wednesday, January 12, 2011

Migrate Picasa Face Tags to Lightroom Metadata

It's been on my list for a while now, and I finally got around to searching for and trying out a few methods to migrate Picasa face tags to Lightroom Metadata.  I really like the capability of Picasa in it's ability to tag faces, and as my collection of images gets ever larger this feature will become more and more important in my work flow I think.  The limitation always was that you couldn't use this information in any other program, without painstaking manual work with keywords.

One major use I have for it is determining all the photos where one (but especially two or more people) appear.  This is very useful for prints, photo books, or just tracking down those photos you forgot you had.

The first option I've found to help migrate Picasa Face Tags into images directly is with AvPicFaceXmpTagger.  The summary below (from its wiki pages) gives an idea of what it does.Click on the title for the creators website/download.

The program seems to work with DNG files as well, from the tests I've done on it.  As always, back-up your data and catalogue before trying "new" things like this.

The next tool I'm looking into for this process is Jeffery Friedl's "Picasa Face-Recognition Import” Lightroom Plugin which seems to do much the same thing, but with a bit different final results.



=========================================

AvPicFaceXmpTagger

This program was written because of the new Google Picasa 3.5 face recognition feature. Due to the fact that Picasa 3.5 doesn't store the face recognition data inside JPEG pictures, this program fetches that data and stores it as XMP-MP meta tags inside the JPEG pictures.


The Picasa 3.5 face recognition feature stores the face data inside the Picasa database. As a consequence this data is lost when you give away your pics and this data cannot be shared with other users or with other Picasa instances running on different computers. Luckily Picasa stores the face recognition data (persons & faces) in quite simple text files so reading that data is not a big clue.
 
There is already a method available how to store face recognition data inside JPEG pictures. This method uses XMP tag system created by Adobe with the addition of Microsoft XMP namespace Microsoft Photo Region Schema and is used by Windows Live Photo Gallery.


Right at the start this program reads the Picasa text file holding the persons (contacts). Each person has assigned an unique person ID. For every file of for all files in a directory which is added to the list of files or directories the picasa.ini file is searched for face definition. If face definitions are found for a file, they are added as XMP tags. Optionally, the person names are also added as IPTC Keyword tags.

The actual tagging of the JPEG files is done using ExifTool - a great and widely accepted/trusted tagging program which is known for its good makernotes handling (to leave them intact).




Friday, February 6, 2009

My Geotagging Workflow: RAW / DNG Files and Lightroom

Although I haven't tried any dedicated plug-ins in Lightroom for geotagging photos (one is available here), the workflow below is relatively straight forward and allows you to geotag photos manually or automatically with a GPS track file (NMEA, GPX). I've summarized a workflow for geotagging JPEG files using the program locr already, but in this post I'll concentrate on DNG files (and RAW files, assuming you'll be converting your RAW files to DNG format). Adobe has a pretty straight forward converter for this here.

1.) Find the files you want to geotag. If the files are currently in RAW format, I convert to DNG since storing metadata in RAW files can be problematic and/or keeping track of sidecar files can also be a chore.

2.) If you have imported your photos into Lightroom already, now is the time to save your metadata to the files - any changes, keywording, edits, etc. you've done to each file in Lightroom. This step is crucial, especially if you have done a lot of edits to your photos before geotagging - similar to my case as I continue to go back through my catalogue and update/improve a lot of the metadata. If you don't save any previous edits done in Lightroom, then when you import the updated information (GPS coordinates in this case) generated in GeoSetter, all other edits will be lost if you did any.


3.) With each DNG file you want to geotag, updated with the latest metadata from Lightroom, you can now work with these files in a separate Geotagging program (GeoSetter in this case, since locr doesn't support DNG or RAW file formats).


Screenshot from GeoSetter website.

4.) Tag your photos manually or automatically with GeoSetter, adding any additional metadata you want at that time. One interesting feature in this program is the ability to automatically populate the location fields in IPTC data (Country Code, country, province, city) once the image is geotagged. You can also do the same thing with altitude values.

5.) One you've tagged and saved the new data to your files in GeoSetter, you can then go back to Lightroom and "Read Metadata from files" to update the files in Lightroom with the GPS data (and any other location/elevation/metadata you've added).

6.) Repeat the process for any files you want to Geotag!

Overall I've found Geosetter to be more intuitive, user friendly and flexible than locr, so will probably use this program for all my geotagging needs.