Skip to content

Detects objects in photos using computer vision and adds keywords to JPEG Exif metadata.

License

Notifications You must be signed in to change notification settings

ahillbom/pyPhotoTagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

What is this?

This app detects objects in photos using Computer Vision and automatically adds keywords to JPEG Exif metadata. The keywords are sorted by the area of objects. It can tag a single photo, or recursively tag photos in a directory. The app is written in Python and is based on an open-source Computer Vision library cvlib from arunponnusamy. The library uses a pre-trained YOLO v3 model, which is capable of detecting 80 different objects.

Dependencies

pip install opencv-python tensorflow cvlib piexif

How to use?

Detect objects and add keywords to example.jpg.

pyphototagger.py -f example.jpg

Detect objects and add keywords to example.jpg with verbose output.

pyphototagger.py -v -f example.jpg

Detect objects and add keywords to all *.jpg and *.jpeg files recursively found in example/photos directory.

pyphototagger.py -d example/photos

Print help

pyphototagger.py -h

About

Detects objects in photos using computer vision and adds keywords to JPEG Exif metadata.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages