Ask Your Question
1

Blink detection

asked 2012-12-19 08:25:03 -0600

liran gravatar image

updated 2016-01-23 11:21:18 -0600

Hi, I'm trying to use blink detection with openCV. I tried using:

  • haarcascade_lefteye_2splits.xml (and haarcascade_righteye_2splits.xml)
  • haarcascade_mcs_lefteye.xml (and haarcascade_mcs_righteye.xml)
  • haarcascade_eye.xml
  • haarcascade_eye_tree_eyeglasses.xml

but all of the above detects opened and closed eyes. any idea or XML files that detects opened OR closed eyes?

Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
3

answered 2013-01-04 13:54:26 -0600

updated 2013-01-04 13:57:36 -0600

When you receive the eye region from haarcascade you can localize the pupil in the eye region. If your input image resolution is low The robust method for pupil localization is the use of k-mean(k=3) for segmentation then use circle hough for localization of pupil. If you don't segment your input image then circle hough is unstable.

edit flag offensive delete link more

Comments

Your comment seems interesting. I thought there was no way of getting Hough to be stable, especially with low resolution. Could you point to more detail on this technique? By k-mean, are you referring to the clustering function in http://docs.opencv.org/modules/core/doc/clustering.html#kmeans ?

Jose Gómez gravatar imageJose Gómez ( 2013-07-05 18:14:46 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2012-12-19 08:25:03 -0600

Seen: 2,407 times

Last updated: Jan 04 '13