Closed AdrianKriger closed 2 years ago
Hi;
How would I convert the rational64u GPSTrack into a direction?
GPSTrack
with:
import piexif exif_dict = piexif.load('./img/IMG_1146.jpg') h = exif_dict['GPS'][piexif.GPSIFD.GPSTrack] h
we get: (116001, 424) with metapix the result is: GPSTrack 273.5872642. An example image here.
(116001, 424)
GPSTrack 273.5872642
What must I do to (116001, 424) to get a bearing?
solved @ stackoverflow
degree = numerator / denominator = h[0]/ h[1] = 116001 / 424 = 273.587264150943
Hi;
How would I convert the rational64u
GPSTrack
into a direction?with:
we get:
(116001, 424)
with metapix the result is:GPSTrack 273.5872642
. An example image here.What must I do to
(116001, 424)
to get a bearing?