Loading repository data…
Loading repository data…
PhucHuwu / repository
Eye Control Pointer is a computer vision application that tracks eye movements to control the mouse cursor. Using OpenCV, MediaPipe, and PyAutoGUI, it enables hands-free interaction by moving the cursor with eye motion and performing clicks by blinking, enhancing accessibility and usability.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A computer vision application that allows you to control your mouse cursor using eye movements and perform clicks by blinking.
Eye Control Pointer uses facial landmark detection to track eye movements and translate them into mouse cursor movements on your screen. The application creates a virtual trackpad that follows your face, allowing you to move the cursor by looking in different directions within this trackpad area. It also detects eye blinks to trigger mouse clicks.
cv2)pip install opencv-python mediapipe pyautogui pillow
python eye_control_pointer.py
ESC to exit the applicationThe application uses MediaPipe's Face Mesh to detect facial landmarks, particularly around the eyes:
You can adjust the sensitivity and behavior by modifying these parameters in the code:
ratio = 0.15: Controls the size of the virtual trackpad (smaller value = more sensitive)(left_eye[0].y - left_eye[1].y < 0.01) to make blinking detection more or less sensitiveThis project is released under the MIT License.
This project uses the MediaPipe face mesh solution developed by Google.