I am using the Python exif module to extract coordinates from photos. The methods for doing so are: gps_latitude and gps_longitude.
The output for latitude is: (32.0, 37.0, 37.15) and longitude is: (116.0, 30.0, 37.0) I extracted the location using another tool as well: 32°37'37.2"N 116°30'37.0"W and 32.6270000, -116.5102778
How can I identify the output format: (32.0, 37.0, 37.15), (116.0, 30.0, 37.0) so I can covert it to perhaps decimal degrees?
from exif import Image with open('IMG_0252.jpg', 'rb') as image_file: my_image = Image(image_file) print(my_image.gps_latitude, my_image.gps_longitude)