Skip to content

This code reads EXIF data from an image file and prints it to the console

License

Notifications You must be signed in to change notification settings

orvill-as/extract-image-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

This code reads EXIF data from an image file. EXIF (Exchangeable Image File Format) data is metadata that is embedded in image files. It can contain various information about the image, such as the date and time the image was taken, the device that took the image, and GPS coordinates (if the image was taken with a device that has GPS).

This code first imports the exifread module, which provides functions for reading EXIF data from image files. It then prompts the user for the path to the image file, opens the file in binary mode, and uses the exifread.process_file() function to read the EXIF tags from the file.

Next, the code reads several pieces of EXIF data from the file:

=>The date and time the image was taken.

=>The GPS coordinates (if available).

=>The make and model of the device that took the photo.

Finally, it prints this data to the console.

In summary, this code reads EXIF data from an image file and prints it to the console.

About

This code reads EXIF data from an image file and prints it to the console

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages