Thumbor (https://github.com/globocom/thumbor) is a great Python library for helping cropping which uses openCV for facial detection (as well as other algorithms for finding "interesting" parts of photos)
Thanks for posting that. I haven't seen that one in a while but built a few. I'd recommend if anyone uses it to not expose it directly to the internet, once someone malicious sees all the sizes in the URL they may try hitting 1..n X 1..M which is a big hard on the servers.
We used specifically named sizes to avoid that problem although whitelisting in the edge servers would also work.
We used specifically named sizes to avoid that problem although whitelisting in the edge servers would also work.