Inspiration

Made to help students who keep falling asleep during their online classes

What it does

Uses a webcam and OpenCV to detect if the person is asleep, and then wakes them up with an alarm if they are

How we built it

The frontend is Vue + Nuxt, Bootstrap, OpenCV, and deployed on Firebase

Challenges we ran into

Integrating the OpenCV code into Vue since it's a pure Javascript file that doesn't really mesh well with Nuxt which uses ES6 modules. After that, it was about optimizing our code so it didn't run at a frame a second.

Accomplishments that we're proud of

The fact that we got the entire project done with time to spare

What we learned

Web Workers don't seem to like the OpenCV library for some reason

What's next for Don't Fall Asleep

Staying awake

Built With

Share this project:

Updates