This repository is an implementation of eye tracking system for cursor control purposes using computer vision. The code utilizes the OpenCV library along with dlib's face detection and shape prediction models to track the eyes and determine the movement of the cursor based on the gaze direction.
- Real-time eye tracking: The code tracks the position of the eyes in a live video feed from a webcam.
- Blink detection: It detects blinks by analyzing the eye aspect ratio, which measures the opening and closing of the eyes.
- Gaze detection: The code determines the direction of the gaze (left, right, up, or down) based on the position of the eyes.
- Scroll control: By blinking, the user can enable or disable scrolling functionality.
- Mouse control: The code allows the user to perform mouse clicks by detecting blinks.