Skip to content
  • Clives-online @Clives-online ·

    When I print out:

    exif = get_labeled_exif("dataset/images/gps.jpg")
    #print("EXIF", exif)
    
    geo = get_location(exif)
    print( geo)
    
    I get the {"Lat":43.xxxxx, "Long": 84.xxxx}
    
    If I try to extract the latitude using.
    print(geo.latitude)
    It returns an error message??
    
    I don't understand why you can't extract the individual decimal values for Latitude and Longitude??
    
    Thanks,
    Clive
    
  • Oleg A. @Olegt0rr ·

    @Clives-online, cause you can't call dict value like this :)

    Use geo["latitude"]

    Edited by Oleg A.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment