question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Face tags don't seem to work for my photos

See original GitHub issue

Describe the bug I tag my photos using DigiKam on linux (which supports XMP tag) and for some reason, your squirrel photo from the demo shows the face tag but not my photos.

Looking through the code, I don’t see any fields being used that aren’t in my photo, so I’m stumped. Any idea whats up?

Photo/video (optional) that causes the bug Related XMP metadata from your squrrel photo:

Xmp.mwg-rs.Regions/mwg-rs:AppliedToDimensions XmpText     0  type="Struct"
Xmp.mwg-rs.Regions/mwg-rs:AppliedToDimensions/stDim:w XmpText     4  1394
Xmp.mwg-rs.Regions/mwg-rs:AppliedToDimensions/stDim:h XmpText     3  930
Xmp.mwg-rs.Regions/mwg-rs:AppliedToDimensions/stDim:unit XmpText     5  pixel
Xmp.mwg-rs.Regions/mwg-rs:RegionList         XmpText     0  type="Bag"
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]      XmpText     0  type="Struct"
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Rotation XmpText     7  0.00000
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Name XmpText    18  Alvin the Squirrel
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Type XmpText     4  Face
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area XmpText     0  type="Struct"
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:h XmpText     7  0.28108
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:w XmpText     7  0.21731
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:x XmpText     7  0.57214
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:y XmpText     7  0.42297

My photo metadata

Xmp.mwg-rs.Regions/mwg-rs:RegionList         XmpText     0  type="Bag"
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]      XmpText     0  type="Struct"
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Name XmpText    12 My Person
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Type XmpText     4  Face
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area XmpText     0  type="Struct"
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:x XmpText     8  0.422976
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:y XmpText     8  0.207705
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:w XmpText     8  0.245531
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:h XmpText     8  0.168197
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:unit XmpText    10  normalized
Xmp.MP.RegionInfo/MPRI:Regions               XmpText     0  type="Bag"
Xmp.MP.RegionInfo/MPRI:Regions[1]            XmpText     0  type="Struct"
Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:Rectangle XmpText    37  0.30021, 0.123607, 0.245531, 0.168197
Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:PersonDisplayName XmpText    12  My Person

Screenshots N/A

Environment (please complete the following information):

  • OS: Ubuntu 64 bit
  • Browser: Firefox

Used app version:

  • compiled from source, deployed as docker container

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bpatrikcommented, Sep 13, 2020

Thank you @mattiasw, using the newer version indeed solved the issue.

1reaction
cbenningcommented, Sep 6, 2019

Happy to contribute, I’m just not so great with frontend tools so I’ll be a bit slow. I looked through that file and found nothing being accessed that wasn’t in the metadata. It needs a step-through I suppose.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't add/tag faces to some photos. - Apple Community
Issue: I am unable to manually add/tag faces in some photos. The "Add a face..." button is grayed out.
Read more >
What to Remember to Get Facebook Photo Tagging Right
Facebook photo tagging is complicated - and you can't always predict whether it'll even work. Here's why.
Read more >
Tagging | Facebook Help Center
What is tagging on Facebook and how does it work? When you tag someone, ... Who can see my photos and photos I'm...
Read more >
iOS 15: How to Correct Errors in the Photos People Album
1. Open the Photos app on your iPhone or iPad and select the Albums tab. 2. Under "People & Places," tap People, then...
Read more >
Facebook Photo Tagging Guide: Everything You Need to Know
Learn how to tag a photo on Facebook, what happens when you tag someone in a Facebook photo, and much more.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found