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

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

c++ - Visual Leak Detector detects leak on new blank MFC project -

c# - Connection String Trouble MetaDataException -