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

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

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