https://github.com/adithya-s-k/eyeontask
An OpenCV and Mediapipe-based eye-tracking and attention detection system that provides real-time feedback to help improve focus and productivity.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.0%) to scientific vocabulary
Keywords
Repository
An OpenCV and Mediapipe-based eye-tracking and attention detection system that provides real-time feedback to help improve focus and productivity.
Basic Info
Statistics
- Stars: 13
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Eye On Task
Eye On Task is a project that focuses on two main components: iris detection/blink detection and expression detection. This README file provides an overview of the project and instructions on how to use the code effectively.
Features
The Eye On Task project consists of the following features:
Iris Detection/Blink Detection: This feature analyzes the distance ratio between the upper eyelid and lower eyelid to determine if a person is blinking. Additionally, it tracks the movement of the iris to determine if the user is looking at the screen. The concentration score is calculated based on the user's eye movement throughout the session.
Expression Detection: The GUI (Graphical User Interface) provides an option to add expressions and train a model for expression detection. After training the model, the system can classify expressions in real-time using a live camera feed.
Application in Test Centers: Eye On Task can be utilized in test centers to monitor students' concentration and detect any unusual eye movement or expressions that might indicate cheating or distraction.
Getting Started
To use the Eye On Task project, follow the instructions below:
Clone the repository from GitHub: repository-link.
Install the necessary dependencies by running the following command:
pip install -r requirements.txtLaunch the GUI by executing the
main.pyfile:python main.pyOnce the GUI is open, you will see options to train the expression detection model and perform inference using the trained model.
Training Expression Detection Model
To train the expression detection model, follow these steps:
Click on the "Train Expression Model" button in the GUI.
A new window will open, allowing you to add expressions and corresponding labeled data.
Capture images for each expression by following the on-screen instructions.
After capturing sufficient data, click on the "Train" button to train the model.
Once the training is complete, the model will be saved for future use.
Performing Inference
To perform expression detection using the trained model, follow these steps:
Ensure that the trained model is available in the project directory.
Click on the "Perform Inference" button in the GUI.
The live camera feed will be displayed, and the system will classify expressions in real-time.
The detected expressions will be shown on the screen.
Important Note
Please ensure that your camera is properly connected and functional before using the Eye On Task project.
The accuracy of expression detection and blink detection depends on various factors, including lighting conditions and camera quality. Ensure that the environment is well-lit and the camera provides clear and reliable input.
For test center applications, make sure to comply with relevant privacy and data protection regulations.
Contributing
We welcome contributions to the Eye On Task project. If you find any issues or have suggestions for improvement, please open an issue on our GitHub repository.
License
This project is licensed under the MIT License.
Contact
If you have any questions or inquiries about the Eye On Task project, please contact us at [email address].
This README file provides an overview of the Eye On Task project and instructions on how to use the code effectively. We hope you find it useful and enjoy using Eye On Task!
Owner
- Name: Adithya S K
- Login: adithya-s-k
- Kind: user
- Location: Indian
- Company: Cognitivelab
- Website: https://adithyask.com/
- Twitter: adithya_s_k
- Repositories: 60
- Profile: https://github.com/adithya-s-k
Exploring Generative AI • Google DSC Lead'23 • Cloud & Full Stack Engineer • Drones & IoT • FOSS Contributor
GitHub Events
Total
- Watch event: 5
Last Year
- Watch event: 5
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0