inspirit / jsfeat

JavaScript Computer Vision library.
MIT License
2.74k stars 372 forks source link

How to get the height of frontal face? #11

Closed prernaa closed 11 years ago

prernaa commented 11 years ago

I want to carry out shirt color detection using JSFeat. I don't know if it's possible. It can be done in OpenCV using the code here: http://www.shervinemami.info/shirtDetection.html

I need to know the height of frontal face, in order to bring the rectangle down to make it focus on the t-shirt instead of the face. How can I do that?

inspirit commented 11 years ago

just look into face detection demo. it is drawing face rectangles, so u can easily get this values.