Archived from the Transloadit support forum. Originally posted on January 27, 2014; details may be outdated, see our docs for current behavior. Original thread
Hi Guys,
First of all, love your product!
We are working on adding a bit more intelligence to our thumbnailing mechanism, and one of the features we would like to add is the ability to crop the image around the content of the image. For example, we could reduce the image by cropping it around the faces of people in the image or the actual object that is identified in the image. OpenCV library offers great Viola-Jones Haar Cascade object detection algorithm that would do exactly what we need. The output of this object detection would be a set of coordinates in the image, which we can then process on our side, or alternatively, you can automatically use for cropping.
Here is a node example:
https://github.com/peterbraden/node-opencv