I am trying to read the EXIF information of images taken by a UAV (more specifically, DJI Mavic 2).
I have sucessfully get some attributes ( "GPS Altitude","GPS Longitude","GPS Latitude") by using ExifInterface
.
However, I realize that ExifInterface
is missing some attributes.
For example, I can't get "Relative Altitude", "Gimbal Roll Degree", "Gimbal Yaw Degree","Gimbal Pitch Degree", etc., although I can see these attributes on PC using some other software(exiftool for example).
How can I get these EXIF information?
I finally gave up ExifInterface and solved this by reading the raw bytes as HEX and parse the HEX into EXIF information.
I also found a library here that should work, but didn't have a try as the issue was already solved.