Skip to main content
Participating Frequently
April 25, 2015
Question

Face image region data written according to XMP-mwg-rs, but NOT read by LR.

  • April 25, 2015
  • 2 replies
  • 16158 views

Great to see that LR CC writes face data to XMP-mwg-rs tags (jay!), according to Metadata Working Group (i.e. Adobe, Microsoft, Sony, Nokia, and others) extension of XMP. See  Image Region Metadata, Section 5.9 in the Metadata Working Group Spec.

---- XMP-mwg-rs

RegionAppliedToDimensionsW      : 1768

RegionAppliedToDimensionsH      : 2656

RegionAppliedToDimensionsUnit   : pixel

RegionRotation                  : -1.43512

RegionName                      : Benoit Gindele

RegionType                      : Face

RegionAreaH                     : 0.04897

RegionAreaW                     : 0.03262

RegionAreaX                     : 0.59858

RegionAreaY                     : 0.72477

RegionRotation                  : -1.52229

However, LR does NOT read and process existing XMP-mwg-rs written by other software, e.g. Picasa  (Nooooooo!).

Picasa in turn reads and shows XMP-mwg-rs tags created by LR CC flawlessly.

With large collections this is obviously a severe limitation for moving to LR, as well as for general interoperability. Adobe went half the way.

Thousands and thousands of clicks to go, again...

This topic has been closed for replies.

2 replies

Participant
May 6, 2015

Here is what I found that fixed the problem for me

Below is the solution to get face tags from windows photo gallery to Lightroom for me. Be sure to backup your files.


*** Backup your files ***

Move people names to keywords for Lightroom. Do this if you're using lightroom, do not do it if you're using picassa. I haven't yet been able to check to see but I'm guessing I will have to "convert it to a person tag" in lightroom keywords since they show as descriptive tags but I have tested everything else.

With Exiftool, open the command prompt and navigate to the folder with exiftool in it:


Add the people names to the keywords

exiftool "-xmp:subject+<regionname" FolderName -overwrite_origional_in_place -m -r


This came from:

Migrating from WPG to Lightroom 6 - People Tags

johnrellis
Legend
April 26, 2015

Upload to Dropbox or similar a sample pic from Picasa that shows the problem and post the link here.  That will let us identify the specific issue and file a bug report/feature request.

GintonicAuthor
Participating Frequently
April 27, 2015

This image has a named face image region applied through Picasa:

https://dl.dropboxusercontent.com/u/13499200/IMG_0903.JPG

Exiftool output:

---- XMP-mwg-rs

RegionAppliedToDimensionsW      : 3264

RegionAppliedToDimensionsH      : 2448

RegionAppliedToDimensionsUnit   : pixel

RegionName                      : Nicoletta S.

RegionType                      : Face

RegionAreaX                     : 0.778799

RegionAreaY                     : 0.18076

RegionAreaW                     : 0.0649509

RegionAreaH                     : 0.10335

RegionAreaUnit                  : normalized

When importing the file, LR CC does not seem to read and process the XMP-mwg-rs tags.

Neither does the name show up in the People list, nor does it show the region area and the associated name in the corresponding interface.

As mentioned in opening post, going the other way works: Images with named regions added through LR CC are recognized by Picasa, added to its list of people and can be processed through its face region overlay interface, i.e. renamed, moved, deleted etc.

johnrellis
Legend
April 28, 2015

Ah ok, thanks very much for testing, johnrellis, I think now I understand what's going on here.

So mwg regions are recognized when importing.

However, they are not recognized as such in images which are already in the library.

See, this is what I got:

I had to go and tell Lightroom to read the metadata again - then it showed me the imbedded mwg region and it's name.

The good news is you can go "Metadata > Read metadata from file" on a single image and LR will eventually show it's embedded regions. (Even then I had to go to the next image and back to have the interface actually update.)

The bad news is you cannot use the "Synchronize folder..." dialog in the Navigator. It will not detect existing face regions in images that were already imported.

Unless there is another way that means in the end you have to go through each image and click "Metadata > Read metadata from file".

I'm praying there is another way...


you cannot use the "Synchronize folder..." dialog in the Navigator. It will not detect existing face regions in images that were already imported

Did you select the option Scan For metadata Updates in the Synchronize Folder window?  

If that doesn't work (it should), you can use the Library Filter bar to identify all files whose metadata on disk is newer than what's in the catalog.  In the Metadata browser, use the Metadata Status column.  Then select all the displayed files and do Metadata > Read Metadata From File.  (You can make filter preset if you do that a lot.)