Inspiration
I wanted to tackle the problem of staying focused, especially when distractions are everywhere—whether it’s while working, studying, or just trying to get something done. The idea of creating something that could gently remind me to stay on track felt like a fun and meaningful challenge.
What It Does
Lock-IN is like a focus buddy that notices when I’m distracted. It keeps an eye on things like my mouse, keyboard, and even whether I’m sitting in front of my screen. If I get distracted, it plays a little animation with sound to nudge me back to work without being annoying.
How I Built It
I put this together using Python, with libraries like OpenCV for facial detection and Pygame to handle the animations. I also used multithreading so everything runs smoothly without slowing down my computer. It checks for inactivity and kicks in when I need a reminder to refocus.
Challenges I Ran Into
The facial detection was tricky—I had to make it accurate but still fast enough to keep everything running smoothly. Designing animations that grab attention without being too distracting took a lot of trial and error. Oh, and fixing bugs like constant jumping in the animation was definitely a patience tester.
Accomplishments That I’m Proud Of
Honestly, just getting everything to work together is a big win for me. From the distraction detection to the animations, I’m really proud that it all came together into something functional and actually useful.
What I Learned
I learned a ton about balancing tech and creativity in a project like this. I got better at using Python libraries like OpenCV and Pygame and figured out how to optimize the system so it doesn’t slow down while working in real time. Plus, I gained some serious debugging skills.
What’s Next for Lock-IN
Next, I want to make it smarter—maybe use some machine learning to tailor the detection and reminders to individual users. I also want to create a nicer interface, integrate it with productivity tools, and make sure everything is super secure and private. Eventually, I’d love to see it help students and professionals stay focused on a bigger scale.
Log in or sign up for Devpost to join the conversation.