Inspiration

One of us had worked with eye tracking before, and we found a paper on the relationship between blinking and stress.

What it does

Our project uses a camera to track the user's eyes and measure their aspect ratio. It registers a blink when their eyes close a certain amount. If their blink rate is too high, our dashboard shows that they are too stressed and need to take a break.

How we built it

We integrated computer vision code, embedded hardware, databases, and a visualization dashboard to create a data pipeline that allows for cloud storage of blink data and access from any web browser.

Challenges we ran into

Getting an MBED board to connect to the Internet using Xbee was a challenge. We also had difficulty in getting the MongoDB database to run properly.

Accomplishments that we're proud of

We got the eye tracking set up and the database together in 24 hours while still managing to get a reasonable amount of sleep.

What we learned

  • Django is finicky
  • The Xbee WiFi board is confusing to use
  • Most of the coding for a software project like this is in the website infrastructure and UI, not necessarily the computer vision

What's next for HackEye

We would like to create an app that pairs with HackEye in order to alert drivers that they are getting tired and need to rest.

Built With

Share this project:

Updates