Giter Club home page Giter Club logo

manoj-2702 / eyetracking Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 85.75 MB

Engagement Analysis with Head Pose Estimation is a computer vision project that utilizes Mediapipe library for facial landmarks detection, OpenCV for computer vision tasks, and NumPy/Pandas for data manipulation. It estimates head pose and gaze direction to determine whether the user is engaged or not.

License: MIT License

Python 100.00%
computer-vision facial-landmarks gaze-direction gaze-tracking head-pose-estimation opencv python attention-span

eyetracking's Introduction

EngageVision: AI-Powered Attention

logo

Engagement Analysis with Head Pose Estimation

Engagement Analysis with Head Pose Estimation is a computer vision project that utilizes Mediapipe library for facial landmarks detection, OpenCV for computer vision tasks, and NumPy/Pandas for data manipulation. It estimates head pose and gaze direction to determine whether the user is engaged or not.

Features

  • Head pose estimation.
  • Gaze direction analysis.
  • Engagement analysis based on head pose and gaze direction.
  • Real-time visualization of facial landmarks and analysis results.
  • Track the duration of continuous eye contact with the camera to measure attention span.
  • Analyze variations in gaze direction to understand shifts in focus.

Parameters

Adjustable parameters are available in the script for customization:

  • draw_gaze: Set to True to display gaze vectors.
  • draw_full_axis: Set to True to display the full rotation axis.
  • draw_headpose: Set to True to display head pose vectors.
  • x_score_multiplier and y_score_multiplier: Multipliers to adjust the impact of gaze on head pose estimation.
  • threshold: Threshold for averaging gaze scores between frames.

Installation

  1. Clone the repository:

    git clone https://github.com/Manoj-2702/EyeTracking.git
    
  2. Install all the required Dependencies: Requirements:

    • OpenCV
    • Mediapipe
    • Numpy
    • Pandas
    pip install -r requirements.txt
    
  3. Usage:

    python eye_nose_detector.py
    

Results

The script provides real-time visual feedback on engagement and gaze direction. It also generates a summary of engagement statements and percentages after execution.

Sample Result

image

Engagement.Analysis.2023-11-12.20-22-11.mp4

License

This project is licensed under the MIT License - see the LICENSE file for details.

eyetracking's People

Contributors

manoj-2702 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.