Inspiration

We, and many of our peers are constantly afflicted by our generation's diminishing attention span and growing reliance on social media. We came up with Locked.AI to remedy the poor focus that we may face when it comes to long periods of lectures and studying.

What it does

Locked.AI utilizes an artificial intelligence software that tracks eye and head movements to distinguish focused moments from unfocused ones, promptly alerting the user through their mobile device to get them back on track. After a studying session or lecture, Locked will give users a feedback report of how focused they were.

How we built it

We built Locked.AI using Python's OpenCV, mediapipe and Flask libraries for the backend and HTML/CSS for the frontend.

Challenges we ran into

One challenge we faced was being able to properly align the AI models with our goals. For instance, it was difficult perceiving depth with tracking sleepiness. We also ran into trouble detecting focus states as the thresholds required were extremely precise. Another difficulty was communicating between our Flask backend and HTML/CSS frontend. It took some time to figure out how to display our video recording with Javascript.

Accomplishments that we're proud of

We are proud of making a finished product with technologies we are new to.

What we learned

We learned new Python technology and how to efficiently collaborate in a team.

What's next for Locked.AI

Locked.AI plans to improve their face and eye detection accuracy and host its service on a server.

Share this project:

Updates