Skip to content

Conversation

@joeyfranck56
Copy link
Contributor

Universal XMP Tags

What?

  • Set default XMP tags for tags that are universal across camera makers

Why?

  • Some XMP tags are consistent across camera makers and should be used as the default for sensors that are not made by Sentera, DJI, Micasense, or Parrot.
  • Setting these as the default will allow new sensors to be supported easier.
  • Sensors without these tags would already throw a keyerror so setting a default would do the same if images do not have these tags.

PR Checklist

  • Merged latest master
  • Updated version number

Breaking Changes

explicit_package_bases = True
scripts_are_modules = True
strict = True
warn_unused_ignores = False
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete the unused ignore comment instead of setting this

Copy link
Member

@elliott-imhoff elliott-imhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the doc string on the XMPTags class to say either empty strings or common defaults. If the tag doesn't exist, a KeyError will be thrown. Other than that, this looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants