Image EXIF / XMP tags

Frame camera interior and exterior parameters can be read from image EXIF / XMP tags. The tables below list required tag sets. If more than one set is present, the first complete set is used.

Interior parameters

Tag set

Tag type

XMP Namespace(s)

Camera type

  • DewarpData

XMP

  • http://www.dji.com/drone-dji/1.0/

brown

  • EXIF_FocalLength

  • EXIF_FocalPlaneXResolution

  • EXIF_FocalPlaneYResolution

  • EXIF_FocalPlaneResolutionUnit

EXIF

pinhole

  • EXIF_FocalLengthIn35mmFilm

EXIF

pinhole

Exterior parameters

Camera position

Tag set

Tag type

XMP Namespace(s)

  • GpsLatitude

  • GpsLongtitude

  • AbsoluteAltitude

XMP

  • http://www.dji.com/drone-dji/1.0/

  • EXIF_GPSLatitudeRef

  • EXIF_GPSLongitudeRef

  • EXIF_GPSLatitude

  • EXIF_GPSLongitude

  • EXIF_GPSAltitude

EXIF

Camera orientation

Tag set

Tag type

XMP Namespace(s)

  • GimbalRollDegree

  • GimbalPitchDegree

  • GimbalYawDegree

XMP

  • http://www.dji.com/drone-dji/1.0/

  • Roll

  • Pitch

  • Yaw

XMP

  • http://ns.sensefly.com/Camera/1.0/

  • http://pix4d.com/camera/1.0/

Note

Conversion from (roll, pitch, yaw) camera orientation is approximate and relies on the world CRS having minimal distortion in the imaged area.

Note

See the test data for examples of images with valid EXIF / XMP tags.

Note

Reading camera parameters from EXIF / XMP tags is currently experimental. If you need support for tags not included above, please see the contribution guide.