Inspiration

Sleep deprivation is often overlooked in our society as well as perpetuated by modern society. However, studies have shown that sleep deprivation produces impairments equivalent to those of alcohol intoxication. Therefore it is important to make sure that individuals are not sleep deprived while operating machinery. For example, pilots and people driving should not be sleep deprived as this can be very dangerous for others either in the plane/car or around them.

What it does

To help combat this challenge, we made Don’t Sleep. Don’t Sleep is an app that helps detect symptoms of sleep deprivation and alert users in response. We analyze this by tracking users’ eyes and calculating the eye to aspect ratio to determine blinks as well as the pitch of a person’s head to detect drooping.

How we built it

We used Camera API, Microsoft Azure Face API, and Android Studio to create an Android application.

Challenges we ran into

We first had to do thorough research on existing literature related to detecting sleep deprivation and identifying relevant symptoms. We wanted to include a hardware component as well, but this proved to be difficult given the time constraint and limited resources. It was challenging to get the live camera feed and then pull the results from the api call.

Accomplishments that we're proud of

The idea, and getting the face detection implemented in python. Working with android and attempting to understand android/azure.

What we learned

Don’t sleep during hackathons….

What's next for Don't Sleep

Looking into more features that indicate sleep deprivation and incorporating them into our application! (how focused a person is, open mouth, etc)

Built With

Share this project:

Updates