#Sidecar faces not detected / individual asset metadata not updating

1 messages · Page 1 of 1 (latest)

elfin flameBOT
#

:wave: Hey @raven remnant,

Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich immich.

References

Checklist

  1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: I have read applicable release notes.
  3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
  4. :ballot_box_with_check: I have reviewed Github for known issues.
  5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting.
  7. :ballot_box_with_check: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

raven remnant
#

The issue appears to be related to a specific asset. If I test on another, it works fine.

#

Several are having the issue, but others aren't.

vestal oriole
#

Can you share the exiftool output for the affected asset?

#

Just the RegionInfo section should be enough

raven remnant
#

@vestal oriole sure, but it seems that this might not be relaged to face recognition. Some assets work when issuing individual metadata refresh, others don't. Not sure what the difference is. Also, one of the assets I tested that works did do the facial recognition properly

#
  <MP:RegionInfo rdf:parseType="Resource">
    <MPRI:Regions>
     <rdf:Bag>
      <rdf:li
       MPReg:PersonDisplayName="REMOVED"
       MPReg:Rectangle="0.236607, 0.488757, 0.15005, 0.151124"/>
      <rdf:li
       MPReg:PersonDisplayName="REMOVED"
       MPReg:Rectangle="0.21999, 0.306548, 0.116567, 0.12004"/>
     </rdf:Bag>
    </MPRI:Regions>
  </MP:RegionInfo>
#

But I think I should prob. rename this help ticket to just individual asset not updating

vestal oriole
#

Can you check the running containers again, but this time look for any container with tini in the entry point, possibly with a gibberish name

raven remnant
#

Sure

#

Those two have tini in their entrypoint

#

Some others too, but unrelated to immich

vestal oriole
#

Hmm never mind then. I thought it might be another case of this

raven remnant
#

ah

#

Ok, with logging set to verbose, when I issue the metadata refresh command, I see the POST endpoint log, then I get the following logs:

[Nest] 7  - 09/06/2024, 6:42:51 PM VERBOSE [Microservices:MetadataService] Exif Tags
 [Nest] 7  - 09/06/2024, 6:42:51 PM VERBOSE [Microservices:MetadataService] Object:

then tons of output that is the object of the exif tags, then nothing after that.

vestal oriole
#

If either of AppliedToDimensions or RegionList is missing or empty, the asset is skipped

#

Are there different ways to output face metadata from digikam?

raven remnant
#

Not tha tI'm aware of

#

Let me check another asset that did work

#

I think I gave you the wrong part of the XML, I looked for Regions but they do both (working and not working) have RegionList. Here's the one that is broken, followed by the one that worked:

#

Broken:

    <mwg-rs:RegionList>
     <rdf:Bag>
      <rdf:li>
       <rdf:Description
        mwg-rs:Name="REMOVED"
        mwg-rs:Type="Face">
       <mwg-rs:Area
        stArea:x="0.311632"
        stArea:y="0.564319"
        stArea:w="0.15005"
        stArea:h="0.151124"
        stArea:unit="normalized"/>
       </rdf:Description>
      </rdf:li>
      <rdf:li>
       <rdf:Description
        mwg-rs:Name="REMOVED"
        mwg-rs:Type="Face">
       <mwg-rs:Area
        stArea:x="0.278274"
        stArea:y="0.366567"
        stArea:w="0.116567"
        stArea:h="0.12004"
        stArea:unit="normalized"/>
       </rdf:Description>
      </rdf:li>
     </rdf:Bag>
    </mwg-rs:RegionList>
#

Worked:

    <mwg-rs:RegionList>
     <rdf:Bag>
      <rdf:li>
       <rdf:Description
        mwg-rs:Name="REMOVED"
        mwg-rs:Type="Face">
       <mwg-rs:Area
        stArea:x="0.308408"
        stArea:y="0.437831"
        stArea:w="0.136657"
        stArea:h="0.146825"
        stArea:unit="normalized"/>
       </rdf:Description>
      </rdf:li>
      <rdf:li>
       <rdf:Description
        mwg-rs:Name="REMOVED"
        mwg-rs:Type="Face">
       <mwg-rs:Area
        stArea:x="0.361607"
        stArea:y="0.617725"
        stArea:w="0.12996"
        stArea:h="0.142196"
        stArea:unit="normalized"/>
       </rdf:Description>
      </rdf:li>
     </rdf:Bag>
    </mwg-rs:RegionList>
vestal oriole
#

Do both have AppliedToDimensions?

raven remnant
#

Checking

#

hmm

#

No, the 'bad' one doesn't, but the good one does.