Chanakya AI Intelligent Solutions for a Smarter Future

Eye-movement-mouse-control

Control your computer screen's scroll using your **eye blinks** via your webcam!

Language: Jupyter Notebook

Stars: 0

Forks: 0

Watchers: 0

View on GitHub

README


````markdown

👁️ Eye Blink Scroll Controller

Control your computer screen's scroll using your eye blinks via your webcam!

This project uses OpenCV for real-time face and eye detection and PyAutoGUI to simulate scrolling.


📸 Demo

https://user-images.githubusercontent.com/your-demo.gif


🧠 How It Works


🔧 Features

✅ Real-time eye tracking
✅ Blink-based scrolling logic
✅ No special hardware needed (just a webcam)
✅ Adjustable sensitivity
✅ Visual feedback (bounding boxes on eyes)


🚀 Getting Started

🔩 Dependencies

Install the required packages:

```bash pip install opencv-python pyautogui numpy ````

▶️ Run the App

bash python eye_scroll.py

Press q to quit the window.


⚙️ Configuration

You can fine-tune the sensitivity by adjusting this parameter in the code:

python INTENSITY_THRESHOLD = 60 # Lower = more sensitive to blinking

Adjust scroll_cooldown (in seconds) to control how often scroll is triggered:

python scroll_cooldown = 1.0 # seconds between scrolls


🛠️ Future Improvements


🧑‍💻 Author

Nabeel Ali Khan 🔗 GitHub 💼 AI & ML Enthusiast | Ethical Hacker | Backend Developer


📜 License

This project is licensed under the MIT License.


```