1. Brent Tubbs
  2. thumpy
  3. Issues


Issue #1 new

Add smart centering when cropping images

Brent Tubbs
repo owner created an issue

Right now if Thumpy is asked to crop an image, it maintains the image's center. That's not always what a content author would want though. Quite often there are faces or words in the image that are best preserved instead of cropped out.

It'd be awesome if Thumpy had a smart centering option that could recognize faces and words in an image and try to use that area as the center if an image has to be cropped.

There's an example of finding a face in an image at http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/ (using OpenCV).

There are OCR examples out there too though I've lost the link I was looking at.

Comments (1)

  1. Log in to comment