Inspiration
What inspired my team was productivity apps such as AppBlock.
What it does
This Google Chrome extension tracks where the user is looking and instantly detects whether the user is not looking at their screen, prompting a message to get back to work!
How we built it
We built this extension using webgazer.js, a free library for eye tracking, and connected it to a Google Chrome extension using JavaScript.
Challenges we ran into
A major challenge was getting the webgazer.js API to work with our extension.
Accomplishments that we're proud of
The accomplishment we are most proud of is using an error to achieve our main goal. There was an issue where, if the user moved their face outside the webcam previewer, the extension would crash. We leveraged this by adding an alert that automatically gets sent the moment this happens, reminding the user to get back to work.
What we learned
We learned how to use webgazer.js in a web browser, how to make a Google Chrome extension, and how to navigate DevTools in Google Chrome to track data flow and find errors.
What's next for ProductivitEye
Next, we plan to make the Chrome extension work even after the initial crash that occurs when a user looks away from their screen.
Log in or sign up for Devpost to join the conversation.