Skip to content

urgently help please #15

@xxsle

Description

@xxsle

Hi Hwiyoung, when I try to run my own data file (jpg+txt) in the script I get the following error.
File c:\users...\main.py:57 in get_metadata
focal_length = convert_string_to_float(exif['Exif.Photo.FocalLength']) / 1000 # unit: m
KeyError: 'Exif.Photo.FocalLength'
Why do you think? How can I fix it?

focal_length = convert_string_to_float(exif['Exif.Photo.FocalLength']) / 1000 # unit: m

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions