Face detection and cropping

179 views
Skip to first unread message

Tauren Mills

unread,
Jan 31, 2011, 4:30:36 PM1/31/11
to Jcrop Development Discussion
Anyone have thoughts on how to best implement a tool that could detect
faces in an image and automatically give suggested crop sizes?

Here's a cool face detection tool:
https://github.com/jaysalvat/jquery.facedetection
Demo: http://facedetection.jaysalvat.com/

I believe it uses HTML5 canvas features, so it would not be as cross-
browser compatible as JCrop is.

My use case is that users will be uploading images of themselves to be
printed onto ID cards using a card printer. The requirement is that
the face consumes about 50 to 60% of the image and that it is
centered. They should end up as passport-style photos.

I'm open to any ideas...
Reply all
Reply to author
Forward
0 new messages