Ask Your Question
0

Can we create our own haar-cascade file for multi-view face detection

asked 2019-02-19 06:13:51 -0600

Kushal gravatar image

updated 2019-02-19 06:32:09 -0600

Multi-view face detection means human face in any angle ranging from -90 to 90 degrees as shown in the image

image link: http://what-when-how.com/wp-content/u...

edit retag flag offensive close merge delete

Comments

please upload your image here, not on an external bin, thank you.

berak gravatar imageberak ( 2019-02-19 06:19:38 -0600 )edit

see https://github.com/Jack-CV/FaceKit haar-cascade is not suitable.

sturkmen gravatar imagesturkmen ( 2019-02-19 08:36:19 -0600 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2019-02-20 05:51:42 -0600

berak gravatar image

updated 2019-02-21 04:17:13 -0600

no, you can't (or - you should not).

cascades degrade, if you increase the pose angle, if you have morethan ~ +=15°,you'll get random predictions.

while you can overcome it by training a frontal and a side view (and flip the image for the opposide side), this means you would need 3 seperate detection attempts.

also note, that the venerable cascade classifiers are "on the way out" (current opencv4 has no more tools to train those), and that you probably should use more modern cnn based face detectors. e.g. look at MTCNN, which is much faster than a single cascade already, andworks nice in [-90 .. 90] degree range. it does not make much sense to

edit flag offensive delete link more

Comments

@berak can you be more specific and suggest me the best way how to do it.

Kushal gravatar imageKushal ( 2019-02-21 04:05:53 -0600 )edit

@Kushal, sorry, but no spoon feeding here.

all i'm trying is to get you to restart your own research

berak gravatar imageberak ( 2019-02-21 04:16:59 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2019-02-19 06:13:51 -0600

Seen: 325 times

Last updated: Feb 21 '19