Inspiration
Our generation, ourselves included, spend copious amounts of time in front of our computers. It’s not a good habit to have, but simply put, building the self-control to wrench oneself away from the screen is quite boring!
What it does
Take5 is an innovative app that records the user’s movements when browsing, and identifies instances of subpar browsing behaviour - leaning in too far, straining your eyes, staying at your computer too long - and corrects the user through a variety of possible punishments, ranging from playing embarrassing music to triggering fork bombs. All the while, our AI bot will chastise users whenever they misbehave, further teaching users to build good browsing habits. No WiFi? No problem! Take5 can run without the AI bot functionality, and all of the other functions of Take5 can run without being connected to the internet.
How we built it
| Tool | Description |
|---|---|
| OpenCV | Camera recording. |
| MediaPipe | Face tracking |
| Numpy | Calculating co-ordinates |
| Pystray | Tray application |
| Pynput | Mouse & keyboard control |
| Threading | Running tray application |
| Python Imaging Library | Application visuals |
| Time | Tracking elapsed time |
| Pyautogui | Mouse & keyboard actions |
| Ctypes | Locking computer |
| Pygame | Playing audio |
| Math | Calculating distances |
| Groq | Text generation |
| AWS | Text-to-speech |
Challenges we ran into
- Devpost deleted our first markdown submission 🙁
- Struggled with a variety of mouse modules, including pynput and mouse
- Accessing the wrong camera - MacBooks can access iPhone cameras
- Debugging global state storage systems was a pain
- Coming up with an idea
Accomplishments that we're proud of
- Creating an algorithm to calculate the user’s distance from the screen based on just webcam footage.
- Creating an AI bot using Groq and AWS in about an hour
What we learned
- Various new technologies, including the specific mediapipe solutions, Groq, and PyAutoGUI.
- The art of pivoting to better ideas, even if that means starting over.
What's next for Take5
Further implementation of a chatbot which gives advice about healthy habits while studying. More variety of punishments and punishable behaviours.
Built With
- amazon-web-services
- groq
- mediapipe
- opencv
- python

Log in or sign up for Devpost to join the conversation.