Ask Your Question

how to set XML cascade for detecting eyes and face on perspective view of faces

asked 2015-09-22 10:01:36 -0500

nastaran gravatar image

I was working on rotated face detecting using SVM ,that I needed to pre process like detecting eyes and faces, I use CascadClassifier and xml files that are located in data folder .I have 10 views of one person , for frontal and side I could detect eyes and face , but for perspective view of faces I need some suitable XML , I need you guys to help me how can I do that?

I mean these view of faces

image description

image description

edit retag flag offensive close merge delete



maybe you can use facial landmarks, like implemented in dlib, flandmarks, faceX instead of eyes-cascade, they are much more robust to perspective / pose variation

berak gravatar imageberak ( 2015-09-22 10:18:02 -0500 )edit

dlib can help in face detecting not in eye detecting if I was right

nastaran gravatar imagenastaran ( 2015-09-22 11:34:38 -0500 )edit

took two days I couldn't run dlib library using jpeg , i added whole thing it said , at the end stupid errors come:|,

nastaran gravatar imagenastaran ( 2015-09-23 23:50:04 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-25 04:30:14 -0500

nastaran gravatar image

Actually its better to use model that is closest to our dataset to detect eyes and faces and so on, these xml files are suitable for datasets that are similar to their train dataset, as berak mention its good to use Other libraries or impelemntation . FaceX ( is one of the implementations that I suggested its good enough for detecting perspective face 's landmarks how ever it can't detect side faces. Dlib( seems good I tried hard to use it in visual studio , but i couldn't use it.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-09-22 10:01:36 -0500

Seen: 796 times

Last updated: Sep 25 '15