Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.27 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.27 KB

Favorite Focal Length

Find out your favorite camera focal length and many other interesting facts about you and your cameras by scanning all your photos.

Demo

Quick Guide

  1. Install exiftool for retrieving exif info from photo https://exiftool.org/

  2. Install pygal for generating charts pip install pygal http://www.pygal.org/

  3. Check out this repo

  4. Make changes

    • [imgFolders] It can be a list of folders, but no need to include subfolders. (Subfolders are scanned automatically)
    • [imgExtensions] Add as needed
    • [exiftoolPath] Include the full path with .exe if running on Windows
  5. Run

    • python3 image.py or python image.py for images
    • python3 video.py or python video.py for videos (only tested for sony camera)
  6. The result is also generated as an HTML file in the same directory

Notes

  • Python 3 is recommended.
  • Try to scan one camera at a time, or cameras with same sensor size.
  • The focal length is not converted if it is not in 35mm full frame.
  • Only tested for very limited cameras. (Sony and Canon)
  • If got an error on the .pkl file, please delete the .pkl file and try again.