Opencv - detecting whether the eye is closed or open

后端 未结 2 424
余生分开走
余生分开走 2021-01-01 05:37

Hi guys I am working on a project where we are trying to detect whether the eye is closed or open in a picture ... what we done so far is that we detected the face then the

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-01 06:06

    You can check circles.cols() value if it is 2 then the eyes are open and if the value is 0 then the eyes are closed. You can also detect the blinking of eye if the value of circles.cols() changes from 2 to 0. Hough transform wil not detect a circle if the eyes are closed.

提交回复
热议问题