Lightroom Classic: Face tags don't appear to be really saved to XMP (or Lightroom doesn't import them...)

  • 1
  • Problem
  • Updated 1 year ago
I'm purchased Lightroom classic primarily because it allow me to tag faces AND save that data within the photos.  I've tagged 50K+ faces in 30K+ photos and I believed everything was working fine.

Then I copied a directory structure with about 1500 pictures to a test directory and created a new catalog importing those pictures.  To my surprise almost half the face tags were missing.

I have 700 tagged faces in the original picture folder when opening my main catalog.

If I create a new catalog from a copy of those pictures, I get 425 faces (and 357 unknown faces).  It makes sense they don't add up to 700 because I make up its re-detecting faces I've ignored when tagging.

If I "Export this folder as a catalog" and open that catalog, then all 700 faces are there.

This leads me to believe the face tags really aren't stored in the actual photos.

Can anyone explain this?


Photo of mikeki

mikeki

  • 2 Posts
  • 0 Reply Likes
  • frustrated

Posted 1 year ago

  • 1
Photo of KK HO

KK HO

  • 6 Posts
  • 0 Reply Likes
I may fully understand your problem, but as I realise that Lr keeps all meta data in SQLite Database. The catalog file is actually a database file. I always make a copy of the catalog and use the free SQLiteStudio to check the photo's metadata. I can see the face tags are there.
Photo of John R. Ellis

John R. Ellis, Champion

  • 5129 Posts
  • 1454 Reply Likes
Both the face rectangles and the person keywords assigned to them are indeed stored in photos' XMP metadata. You can verify that using the free ExifTool utility and examining the XMP fields including "Region" in their name.

You may not have written all of the catalog metadata to those 1500 pics before importing them into the new catalog. You can verify that: In the original catalog, open the Library Filter bar's Metadata browser with the Metadata Status column:



If there are any photos that are "Has been changed", select them and do Metadata > Save Metadata To File.  That will ensure the metadata in the photos matches that in the catalog.


Photo of Tanya Metaksa

Tanya Metaksa

  • 32 Posts
  • 4 Reply Likes
Hi John, I couldn't manage to come up with the view of the Library Filter bar's Metadata browser you should with the Metadata Status column. How did you manage to get that? Thanks.
Photo of John R. Ellis

John R. Ellis, Champion

  • 5129 Posts
  • 1453 Reply Likes
1. Do the menu command Library > Enable Filters to make sure the Filter Bar is showing.

2. Click on Metadata.

3. Click on the first column name (it's "Date" in the screenshot below, but it could be any other), and in the dropdown menu, select Metadata Status.



4. If the column is too narrow, you can remove other columns. Hover the mouse over the right edge of the column and click on the magic dropdown menu that appears. (It's bad UI design to have these magically appearing elements, but so be it.)

Photo of John R. Ellis

John R. Ellis, Champion

  • 5129 Posts
  • 1454 Reply Likes
Also, consider using the option Catalog Settings > Metadata > Automatically Write Changes Into XMP.