- About the Project
- Inspiration
- Key Learnings
- How We Built It
- Dependencies
- Setup and Installation
- Wrap-Up
- Contributing
- License
- Contact
FocusCam uses computer vision and your webcam to monitor your attention levels, ensuring you stay engaged with tasks and minimizing distractions.
The idea was born from our team's struggle with maintaining focus while studying and doing homework. We pondered, "What if our computers could notify us when we're losing attention?" That's how FocusCam was born.
-
Computer Vision Basics: Delved into how cameras detect facial nuances using vector math and tracking facial features.
-
User Privacy: Ensured data was processed locally without storing any footage.
-
User Interface Design: Created a user-friendly and non-intrusive interface.
-
Tools: Utilized OpenCV for computer vision and Electron for the app interface.
-
Detection Algorithm: Developed to distinguish between reading/thinking and distraction.
-
Real-time Feedback: Users receive gentle reminders to refocus after a minute of distraction.
-
Privacy: Data is processed locally; no footage is saved or transmitted.
-
Challenges: Implementing Gaze Tracking was a significant challenge initially.
The following Python packages are required for FocusCam:
- tkinter
- opencv-python
- numpy
- mediapipe
- pandas
- GazeTracking
- notifypy
-
Clone the repository:
git clone https://github.com/tkl0000/FocusCam.git
-
Navigate to the cloned repository:
cd FocusCam
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the app:
python main.py
FocusCam, from a simple idea to a robust tool, showcases how tech can aid in enhancing daily productivity. Our journey in creating this tool emphasized the importance of persistence and user-centric design.
We welcome contributions! Please read the CONTRIBUTING.md for instructions on how to contribute.
This project is licensed under the MIT License. See the LICENSE.md for details.
For questions, suggestions, or feedback, please reach out to us at thomasli2025@gmail.com.
Enjoy using FocusCam and stay focused! 📸👀