Thumbnailing with facial detection and entropy cropping, Python + OpenCV
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README
deface.py
gallerize.py
thumbify.py

README

thumbify.py: simple thumbnailing + face detection

thumbify.py crops and scales images square so that they
may be used as thumbnails. It will attempt to recognize
if the image(s) contain any faces, and attempt to avoid
cropping them. It will then try to identify and remove
the least interesting parts of the image first.

deface.py identifies suspected faces in an image and
prints out their bounding box.

gallerize.py creates a stand-alone html gallery from a
directory of images.

To install dependencies on Ubuntu:

apt-get install python-opencv python-numpy libopencv-dev imagemagick python-pyexiv2

gallerize.py also requires mako:

apt-get install python-mako