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.

https://github.com/adithya-s-k/eyeontask

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

computer-vision flask mediapipe opencv
Last synced: 5 months ago · JSON representation

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
  • Host: GitHub
  • Owner: adithya-s-k
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 91.9 MB
Statistics
  • Stars: 13
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
computer-vision flask mediapipe opencv
Created over 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme

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:

  1. 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.

  2. 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.

  3. 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:

  1. Clone the repository from GitHub: repository-link.

  2. Install the necessary dependencies by running the following command: pip install -r requirements.txt

  3. Launch the GUI by executing the main.py file: python main.py

  4. Once 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:

  1. Click on the "Train Expression Model" button in the GUI.

  2. A new window will open, allowing you to add expressions and corresponding labeled data.

  3. Capture images for each expression by following the on-screen instructions.

  4. After capturing sufficient data, click on the "Train" button to train the model.

  5. 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:

  1. Ensure that the trained model is available in the project directory.

  2. Click on the "Perform Inference" button in the GUI.

  3. The live camera feed will be displayed, and the system will classify expressions in real-time.

  4. 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

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
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels