crop
crop copied to clipboard
Face detection
Implement a working version of the face aware cropping
I made an early version of it as you can see in this commit : https://github.com/stojg/crop/commit/58d9616f6c4321d1f2aa5dfc553626e961d1ed6f It's not as efficient as facebook or google, but it is based upon the entropy crop and it sets "limits" where the heads are detected.
I dropped a new tag (1.2.0). I think I will leave it this way for now, but we are gonna process a big number of pictures at my job, so I will check if the crop is good.
Cool. I'm trying it out but having some problems compiling opencv on my mac. Might resort to checking it out on Ubuntu.
Excited! On 28/06/2013 3:31 AM, "Julien Deniau" [email protected] wrote:
I made an early version of it as you can see in this commit : 58d9616https://github.com/stojg/crop/commit/58d9616f6c4321d1f2aa5dfc553626e961d1ed6f It's not as efficient as facebook or google, but it is based upon the entropy crop and it sets "limits" where the heads are detected.
I dropped a new tag (1.2.0). I think I will leave it this way for now, but we are gonna process a big number of pictures at my job, so I will check if the crop is good.
— Reply to this email directly or view it on GitHubhttps://github.com/stojg/crop/issues/1#issuecomment-20129201 .
I had a couple problems too. The required version was the 2.3.1 but the debian package version was older, so I compiled it from sources (2.4.x). The php module is not available on Pear, so you have to compile it too.
It would be great if you manage to install it on your mac.
Just so you know, I made a blog post about that : http://blog.mapado.com/image-croping-entropy-face-detection/
Julien