-
Hi, I'm working on an app (OneFolder) for managing photos (similar to Google Photos or Apple Photos) but without a server, relying solely on file metadata. The app uses ExifTool, adding some tags to the picture metadata, such as Now, I want to annotate faces in the file's metadata using Annotorious. What I need to know now is whether I should try to adhere to this W3C WebAnnotation format when adding it to the file's metadata. If yes, does ExifTool provide features to work with or support the W3C WebAnnotation format in any way? If no, which metadata standard should I use? I tried to find examples from other similar apps like DigiKam, PiGallery2, and Photheca. I assumed that, in most cases, apps use XMP respecting Metadata Working Group (MWG) format, even if it appears that they are no longer active (their website http://www.metadataworkinggroup.org/ does not work). My real intention is to respect the metadata standards for photos as much as possible. I don't want to create more confusion than there already is. Is there an existing app that uses Annotorious, annotations and add it in the metadata? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, this looks fantastic! ❤️ I remember having a chat with someone about encoding regions in EXIF tags. That was years ago though... I think XMP was also what they mentioned. (Probably this part about XMP region tags, which looks like it's the same of what you have in mind.) I don't think Web Annotation would be suitable. It's quite specialized for online content after all, and leans on standards that make sense in the browser (such as identifying everything through URIs, encoding rectangles as media fragments, etc.). But in the context of EXIF, XMP feels like the way to go. I'm not aware of any app that currently uses Annotorious for EXIF tagging. You'd definitely need to build a bit of crosswalking between formats. Shouldn't be too difficult, however, since media fragments are really just concatenated x/y/width/height tuples. BTW: if you are building your app in React (which I think you do) - the next major release of Annotorious is almost ready. It's still in alpha state, and currently undocumented... nonetheless, it's a lot easier to use with frameworks, especially if you're not planning to use the default Annotorious comment popup. (There's a dedicated @annotorious/react package.) Let me know if you would like to give that a try, and I can help out. |
Beta Was this translation helpful? Give feedback.
Hi, this looks fantastic! ❤️
I remember having a chat with someone about encoding regions in EXIF tags. That was years ago though... I think XMP was also what they mentioned. (Probably this part about XMP region tags, which looks like it's the same of what you have in mind.)
I don't think Web Annotation would be suitable. It's quite specialized for online content after all, and leans on standards that make sense in the browser (such as identifying everything through URIs, encoding rectangles as media fragments, etc.). But in the context of EXIF, XMP feels like the way to go.
I'm not aware of any app that currently uses Annotorious for EXIF tagging. You'd definitely need to build a bit of …