Author Topic: Does PM support image region metadata (face tagging)?  (Read 2905 times)

Offline justink

  • Newcomer
  • *
  • Posts: 3
    • View Profile
Does PM support image region metadata (face tagging)?
« on: November 19, 2014, 09:02:08 PM »
I understand that XMP allows for tagging specific regions of an image (like faces) with specific descriptions (like names) and then embedding that data with the image. Does Photo Mechanic allow this? If not, is it planned feature for any time in the future?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24756
    • View Profile
    • Camera Bits, Inc.
Re: Does PM support image region metadata (face tagging)?
« Reply #1 on: November 19, 2014, 10:05:47 PM »
I understand that XMP allows for tagging specific regions of an image (like faces) with specific descriptions (like names) and then embedding that data with the image. Does Photo Mechanic allow this? If not, is it planned feature for any time in the future?

I don't think it does.  What XMP fields are used for this data?

-Kirk

Offline justink

  • Newcomer
  • *
  • Posts: 3
    • View Profile
Re: Does PM support image region metadata (face tagging)?
« Reply #2 on: November 20, 2014, 10:19:05 PM »
I don't really know exactly how it's supposed to work. It may not be a visible field that you directly type in. I think it requires a relatively sophisticated user interface where the user would highlight a region within the image and then attach a name to that region and the software then codes it into XMP in a way that looks like this:
...
 <mwg-rs:Regions rdf:parseType=“Resource”>
 <mwg-rs:AppliedToDimensions stDim:w=“4288” stDim:h=“2848” stDim:unit=“pixel”/>
 <mwg-rs:RegionList>
 <rdf:Bag>
 <!-- Simple example for face detection -->
 <rdf:li rdf:parseType=“Resource”>
 <mwg-rs:Area stArea:x=“0.5” stArea:y=“0.5” stArea:w=“0.06” stArea:h=“0.09” stArea:unit=“normalized”/>
 <mwg-rs:Type>Face</mwg-rs:Type>
 <mwg-rs:Title>John Doe</mwg-rs:Title>
 </rdf:li>
 <!-- Simple example for pet detection -->
 <rdf:li rdf:parseType=“Resource”>
 <mwg-rs:Area stArea:x=“0.5” stArea:y=“0.5” stArea:w=“0.06” stArea:h=“0.09” stArea:unit=“normalized”/>
 <mwg-rs:Type>Pet</mwg-rs:Type>
 <mwg-rs:Title>Fido</mwg-rs:Title>
 <mwg-rs:Description>Fido looks happy!</mwg-rs:Description>
 </rdf:li>
 <!-- Metadata applied to a specific region, defined locally -->
 <rdf:li rdf:parseType=“Resource”>
 <mwg-rs:Area stArea:x=“0.5” stArea:y=“0.5” stArea:w=“0.003” stArea:h=“0.002” stArea:unit=“normalized”/>
 <mwg-rs:Type>Focus</mwg-rs:Type>
 <mwg-rs:FocusUsage>EvaluatedUsed</mwg-rs:FocusUsage>
 </rdf:li>
 <rdf:li rdf:parseType=“Resource”>
 <mwg-rs:Area stArea:x=“0.5” stArea:y=“0.5” stArea:w=“0.003” stArea:h=“0.002” stArea:unit=“normalized”/>
 <mwg-rs:Type>BarCode</mwg-rs:Type>
 <mwg-rs:BarCodeValue>ISBN:1234567890</mwg-rs:BarCodeValue>
 <mwg-rs:Name>The Best Book</mwg-rs:Name>
 <mwg-rs:Description>The best book is the best book ever.</mwg-rs:Description>
 </rdf:li>
 </rdf:Bag>
 </mwg-rs:RegionList>
 </mwg-rs:Regions>

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24756
    • View Profile
    • Camera Bits, Inc.
Re: Does PM support image region metadata (face tagging)?
« Reply #3 on: November 20, 2014, 10:37:48 PM »
Justin,

Thanks for the info.  No, PM does not support those fields.  We have no plans to support them in the near future.

-Kirk

Offline justink

  • Newcomer
  • *
  • Posts: 3
    • View Profile
Re: Does PM support image region metadata (face tagging)?
« Reply #4 on: November 21, 2014, 08:50:14 AM »
Thanks so much for your quick feedback!