When I am distracted checking my phone, it can no longer detect my eyes, and plays a sound along with the words "Focus Man!"
When I am focused, this program can detect my eyes.
I found myself distracted with my phone or other things while watching my class lectures online and realized I would lose a lot of time playing with my phone and not paying attention to the lecture.
What it does
This program tracks the user's eyes using the webcam and when the user gets distracted by looking at his or her phone, for example, it plays a sound and the words "Focus Man!" pops onto the screen.
How we built it
We used OpenCV cascade classifier to track the users eyes and when the users eyes can not be detected, a sound plays and the words "Focus Man!" will pop onto the users screen.
Challenges we ran into
While we were working on the program, it was challenging to make the cascade classifier to work as expected. We also had trouble making C++ to play a sound. Finally, putting all these components together was a hurdle too.
Accomplishments that we're proud of
This program works perfectly as can be seen in the video link and does its job as expected. It will definitely help us focus on our class video lectures and help us stop wasting time.
What we learned
We learned to work with OpenCV and how to play sounds using C++. We also learned to work well as a team.
What's next for FocusMan!
The next step is to make this an easier program for everyone to use, making GUI.