EyeControlled_Mouse
This Python script utilizes computer vision and facial landmarks detection to control the mouse cursor based on eye movements.
🚀 Features
- Real-Time Eye Tracking: Effortlessly control your mouse cursor in real-time.
- Blink for Click: A left-eye blink serves as a mouse click for a hands-free experience.
🌈 How It Works
Simply stare into the webcam, and watch as your eyes take control! Blink your left eye for a magical click.
🚨 Troubleshooting
Encountering issues? Let's troubleshoot:
💡 Ensure your webcam is connected and working.
💡 Double-check that the dependencies are installed correctly.
🎮 Usage
Look into the Webcam:
Move your eyes, see the magic happen!
Blink for Click:
A left-eye blink triggers a mouse click.
Snapshots
It uses the OpenCV library to capture video from the default camera.

It detects the landmarks x and y if face is present in front of screen

It face is not present then it shows none

It shows all the landmarks on the face

It shows that click is being made

✨ Author
[Suhel Bhadane]
GitHub: https://github.com/suhelBhadane
Email: [suhelbhadane7666@gmail.com]
🛠️ Installation
Clone the Repository:
git clone https://github.com/suhelBhadane/EyeControlled_Mouse.git
To run your project, follow these steps:
1. Install Dependencies:
Ensure that you have the necessary dependencies installed by running the following command in your terminal or command prompt:
pip install opencv-python mediapipe pyautogui
2. Run the Script:
Open a terminal or command prompt in the directory where your script is located, and execute the following command:
python main.py