How can I detect yawn using Open CV

前端 未结 2 1612
被撕碎了的回忆
被撕碎了的回忆 2021-02-02 02:17

I am developing an application for iOS that needs to detect when the user yawns.

What I did is include Open CV and find faces using a haar cascade, and then find mouth i

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-02 02:58

    OpenCV also has face recognition / detection capabilities (see the examples that come with the openCV SDK). I think these would be a better place to look, as haar cascade doesn't really analyze the facial expressions the way you need it to. Try running the examples and see for yourself - you'll get real time data about the detected eyes / mouth and so.

    Good luck

提交回复
热议问题