c++ - Eye detection with OpenCV (detecting eye from "Scream's mask") -


i have detect eyes picture , after need coordinates them.

http://damngoodcup.com/wp-content/uploads/scream-mask.jpg

i have used opencv, , following command:

eyes_cascade.detectmultiscale(frame_gray, eyes, 1.1, 2, 0 | cv_haar_scale_image, size(30, 30)); 

on other pictures (for eg.: on selfie) it's working, "scream face" it's useless.

is there way find eyes on picture? (using opencv not important if there easier solution)

haar classifier provided opencv not work image (face, eyes, etc), because differs positive training data, limited humans' faces. example, humans' eyes have different features extracted haar features "eyes" in image you've provided.

if detect eye-like region in image haar cascade, have train own yourself. don't think can find kind of such trained classifier.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -