Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Thumbnailing with facial detection and entropy cropping, Python + OpenCV
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
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