Ask Your Question
0

Best Face and eye detection algorithms for opencv

asked 2015-07-01 07:36:20 -0600

franken gravatar image

updated 2015-07-25 19:07:44 -0600

i'm working on face and eye detection (no recognition needed) using opencv , and i've found some algorithms that i can use :

  1. Viola–Jones object detection framework : This algorithm is implemented in OpenCV as cvHaarDetectObjects(). https://en.wikipedia.org/wiki/Viola%E...
  2. Local binary patterns (LBP) is a type of feature used for classification in computer vision https://en.wikipedia.org/wiki/Local_b... 3.....

i'm just a newbie and i want to know what is the best algorithm (in term of speed and performance and precision ) for face and especially eye detection (i want to use it also in the detection of eye direction) using opencv :) thanks a lot

edit retag flag offensive close merge delete

Comments

It reminds me of one of my project while I was studying. First let me ask you something. What do you mean by direction ? If you meant iris position, you can detect eye and take iris template at the start of the program and later do template matching in your region of interest and keep track of the iris. Hope it helps.

dastaan90 gravatar imagedastaan90 ( 2015-07-01 07:55:32 -0600 )edit

thanks a lot yes it's about iris detectttion but i don't know if that is possible and where can i start ... plz can you send me the refrerences you have used in your project ... here is my email : [email protected]

franken gravatar imagefranken ( 2015-07-01 21:07:49 -0600 )edit

better tags for the question will be usefull

pklab gravatar imagepklab ( 2015-07-02 02:24:51 -0600 )edit

@dastaan90 please respond , @pklab i have added some thanks

franken gravatar imagefranken ( 2015-07-25 19:08:23 -0600 )edit

1 answer

Sort by » oldest newest most voted
3

answered 2015-07-01 07:46:57 -0600

Oh dear ... cvHaarDetectObjects is the most ancient interface for face detection around here. Instead move to the more advanced C++ interface called traincascade which does the same but in a more optimized way. Some references:

Using the LPB features gives a speed increase but at the cost of some accuracy. If you do not need to retrain your own model, I would still use the HAAR wavelets.

Eye direction, like in the case of viewing is a much harder task to do, and will not be easy with current openCV functionality.

edit flag offensive delete link more

Comments

ok thanks you i will try this ... and for eye detection what is the best algorithm that can i use ??

franken gravatar imagefranken ( 2015-07-01 21:14:27 -0600 )edit
1

The same as for face detection, but then with an eye model ;) As to detecting iris regions, that can be done with template matching like discussed below.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-07-02 02:11:17 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-07-01 07:36:20 -0600

Seen: 1,556 times

Last updated: Jul 25 '15