Yawn Detector

I was a great fan of Apesnake Manwolf project at Fabrica. Thanks to Che-Wei Wang and David Peñuela for inspiring me. The moment I returned home, I couldn resist myself from trying FaceOSC. Its soo cool to play with our face gestures. I spent nearly an hour trying out all possible weird gestures 😉 Then landed up doing an app which will detect when you YAWN. I was imagining a scenario where this app can run in stealth mode in corporates and keep a count of how many times a particular employer yawns. Actually that can generate a good yawn report for the managers 🙂 Anyways here I am detecting when the user yawns and I am playing an audio which says “Stop yawning and get back to work!” and also displays a text “Stop Yawning!”.

Note: I myself yawned once genuinely when I was writing this post and this girls voice “Stop yawning and get back to work!” was soooooo irritating… then I smiled and said to myself “This app works.”

90 thoughts on “Yawn Detector

  1. Not yet. Code needs some cleaning.
    If you want the source code, give your email id and I will email it to you.
    Thanks.

    1. I’m working on fatigue detection, too. Please do help me by sending your source code. Email:yongfu_jiang@126.com. Thank you.

  2. hi sure Kumar
    i’m doing my final yr proj on Driver drowsiness using eye tracking and yawn detection.
    so can u mail me the code. so it wil b very useful fa my project
    thank you & its my pleasure if i get ur codes

    by
    muthu
    muthu_3189@yahoo.in

      1. would u please so kind to share the code with me..really appreciate it..thank you 🙂

  3. Hello Kumar,
    your work is brilliant.
    Is if possible for you to share your code? I would be glad to have it a look.

    Best

    Marco (gig dot robot at tiscali dot it)

  4. Hello, I also need your help to make the detection of yawn. Please help me. matheus.luz12@ gmail.com

  5. Hi Sures, I am working on fatigue detection and I need your help. Can you please mail me the code for guiding me. My mail id is “dipal.sodha@gmail.com”

  6. Hi Sures! Must say, an awesome piece of work.
    By the way, I am also working on exploring the usage of active appearance model and neural networks in yawn detection. Can you please mail me source files for your application? It will help me kick start my implementation process. Thanks!
    Email: narender2512nagpal@gmail.com

  7. Hi Mr. Suras, I have project like yours. Can you help me to give this source code for reference my project. Thanks.

  8. hey there, firstly i yawned almost twice watching this video 😛
    secondly im working on drowsiness detection using 5 parameters
    – Head Nod ( pressure sensor)
    – REM pattern blinking
    – Yawn Detection
    – Area of eye
    – Lane Drifting

    Can you pleasepass me ur source code, or at least share the flow chart 🙂
    at ammarajaved2@gmail.com

  9. Hello Mr. Sures Kumar,

    It will really helpful for my research if you could share me the source code. Thank you.

  10. Hello Sures. Im currently working on the same project for my final year project. can you email me the source code? Thanks in advanced 🙂

  11. Hi,
    I’m doing my final year research project which is about identifying the students’ concentration level while studying using facial expressions such as eye blinking, yawning etc. It would be a great help if you can share the source code to my email id narmi767@gmail.com.

    Thanks in advance.

  12. I’m working on fatigue detection, too. Please do help me by sending your source code. Email:juanpablo_caudillo@hotmail.com Thank you.

  13. Hey, thats an amazing work that you have done there. I have been trying to write the yawn detection code on python using openCV. Can you please mail me your code, so I can refer your code.

    Thank you!

Leave a reply to Juan Pablo Cancel reply