DJI Mavic, Air and Mini Drones
Friendly, Helpful & Knowledgeable Community
Join Us Now

Orientation data in metadata?

KMnO4

Member
Joined
Dec 3, 2016
Messages
19
Reactions
8
Age
50
Does anyone know if orientation data is contained in the metadata data of image files?
 
In the image files, I don't think so. It would be a nice python script to correlate a flight log file and photo timestamps and inject the proper EXIF tag into the images.
 
No kidding. Wonder if that's something that would/could be implemented in future firmware updates - I can't imagine an extra datapoint included would be a big deal.


Sent from my iPhone
 
I am writing a web app that uses the meta data and had the same question. From looking at it, I don't think they do. Kind of surprising given all the other stuff that is in it. iPhone images do have the orientation information. Sure seems like something that DJI should have included.
 
I have been digging a bit and think the orientation is in the exif data. Use exiftool to get all the information. The craft yaw degree is in the exif of DNGs at least. I don't know about jpg since I only use raw

0 Degrees is north, -90 is west, 90 east and I'm not sure what it says when you point it exactly south if you get 180 or -180.
This is a snip of the info in a DNG file, opened in exiftool
exiftool.JPG
 
Last edited:
I have been told that Orientation data is in the Mavic metafile for .jpgs. However, I sure cannot find it. There is an Orientation field but it is always '1'. I wrote a web program to dump all the meta data.

Below is the result:

FILE.FileName: test2.jpg
FILE.FileDateTime: 1522539638
FILE.FileSize: 3604057
FILE.FileType: 2
FILE.MimeType: image/jpeg
FILE.SectionsFound: ANY_TAG, IFD0, THUMBNAIL, EXIF, GPS, INTEROP, WINXP
COMPUTED.html: width="4000" height="2250"
COMPUTED.Height: 2250
COMPUTED.Width: 4000
COMPUTED.IsColor: 1
COMPUTED.ByteOrderMotorola: 0
COMPUTED.ApertureFNumber: f/2.2
COMPUTED.Thumbnail.FileType: 2
COMPUTED.Thumbnail.MimeType: image/jpeg
IFD0.ImageDescription: DCIM\100MEDIA\DJI_0015.JPG
IFD0.Make: DJI
IFD0.Model: FC220
IFD0.Orientation: 1
IFD0.XResolution: 72/1
IFD0.YResolution: 72/1
IFD0.ResolutionUnit: 2
IFD0.Software: v02.06.5666
IFD0.DateTime: 2018:03:30 12:27:09
IFD0.YCbCrPositioning: 1
IFD0.Exif_IFD_Pointer: 182
IFD0.GPS_IFD_Pointer: 686
IFD0.Comments: 0.9.143
IFD0.Keywords: N
THUMBNAIL.Compression: 6
THUMBNAIL.XResolution: 72/1
THUMBNAIL.YResolution: 72/1
THUMBNAIL.ResolutionUnit: 2
THUMBNAIL.JPEGInterchangeFormat: 41972
THUMBNAIL.JPEGInterchangeFormatLength: 6729
EXIF.ExposureTime: 406/1000000
EXIF.FNumber: 220/100
EXIF.ExposureProgram: 2
EXIF.ISOSpeedRatings: 100
EXIF.ExifVersion: 0230
EXIF.DateTimeOriginal: 2018:03:30 12:27:09
EXIF.DateTimeDigitized: 2018:03:30 12:27:09
EXIF.ComponentsConfiguration:
EXIF.CompressedBitsPerPixel: 3348215/1125000
EXIF.ShutterSpeedValue: -11265/-1000
EXIF.ApertureValue: 227/100
EXIF.ExposureBiasValue: -21/32
EXIF.MaxApertureValue: 227/100
EXIF.SubjectDistance: 0/100
EXIF.MeteringMode: 2
EXIF.LightSource: 0
EXIF.Flash: 32
EXIF.FocalLength: 470/100
EXIF.MakerNote:
EXIF.FlashPixVersion: 0010
EXIF.ColorSpace: 1
EXIF.ExifImageWidth: 4000
EXIF.ExifImageLength: 2250
EXIF.InteroperabilityOffset: 656
EXIF.ExposureIndex: 0/0
EXIF.FileSource:
EXIF.SceneType:
EXIF.CustomRendered: 0
EXIF.ExposureMode: 0
EXIF.WhiteBalance: 0
EXIF.DigitalZoomRatio: 0/0
EXIF.FocalLengthIn35mmFilm: 26
EXIF.SceneCaptureType: 0
EXIF.GainControl: 0
EXIF.Contrast: 0
EXIF.Saturation: 0
EXIF.Sharpness: 0
EXIF.DeviceSettingDescription:
EXIF.SubjectDistanceRange: 0
GPS.GPSVersion:
GPS.GPSLatitudeRef: N
GPS.GPSLatitude: Array
GPS.GPSLongitudeRef: W
GPS.GPSLongitude: Array
GPS.GPSAltitudeRef:
GPS.GPSAltitude: 1748335/1000
INTEROP.InterOperabilityIndex: R98
INTEROP.InterOperabilityVersion: 0100
WINXP.Comments: 0.9.143
WINXP.Keywords: N

Am I missing something?
 
Lycus Tech Mavic Air 3 Case

DJI Drone Deals

New Threads

Forum statistics

Threads
130,968
Messages
1,558,427
Members
159,963
Latest member
Corbo2000