Inspiration

Focusing is one of the many crucial pillars of getting work done. Without focus, the time spent on getting a task done is pointless. After many attempts at different methods of reaching a higher level of focus (rain sounds, music, extra sleep), there will never be something as good as having a teacher redirecting your focus every time you lose it, with constant reminders to complete your task. But what if there was a tool that could give you that necessary push when needed?

What it does

LookLock is a focusing tool that helps the user focus on the task in front of them for longer periods of time. The application tracks the person's eyes and reminds them with a beep if they are out of focus for over a minute. This Increases the rate of concentration over time.

How we built it

We built this application with Streamlit and OpenCV. Streamlit was used to create the application with the necessary UI, data processing for reminders, and extra features. OpenCV was used for eye tracking and fed the information of how long the person was out of focus and how frequently that person lost focus to the application.

One major obstacle we ran into was getting to openCV to track the user's eyes correctly. The openCV kept tracking other objects in our surroundings as well as our eyes which would then tamper with the user's focus data. After further research, we took a different approach which solved our issue.

Accomplishments that we're proud of

Coming up with an idea that we believe will actually be useful to students and implementing this idea using streamlit and openCV.

What we learned

We learned how to use streamlit to create a web app and learned how to use openCV to implement the eye tracking system.

What's next for LookLock:

  • Implementing a database that stores the durations that people are focused and timestamps where people often usually lose focus
  • Implementing live feedback during use to help focus

Built With

Share this project:

Updates