Control your computer's scrolling using hand gestures through your webcam! ✌️
- Real-time hand gesture recognition
- Vertical scrolling with two-finger gesture
- Visual feedback of hand landmarks
- Adjustable sensitivity settings
- Cross-platform compatibility (Windows/MacOS/Linux)
- Python 3.7 or higher
- Webcam
- Essential Libraries:
- mediapipe
- opencv-python
- pyautogui
-
Clone the repository: git clone https://github.com/YOUR_USERNAME/Air-Flow.git cd Air-Flow
-
Install dependencies: pip install -r requirements.txt
(If requirements.txt doesn't work, install manually:) pip install mediapipe opencv-python pyautogui
-
Verify installation: python --version
-
Run the program: python air_flow.py
-
Gesture Controls:
- Show TWO FINGERS (index and middle) to activate
- Move fingers DOWN to scroll DOWN
- Move fingers UP to scroll UP
- Press 'q' to quit program
-
Tips:
- Ensure good lighting conditions
- Keep hand visible in camera frame
- Start with slow movements
- Adjust sensitivity in code if needed
-
Webcam not detected? Try:
- Check camera permissions
- Disconnect/reconnect webcam
- Try camera index 1 in code (change cv2.VideoCapture(0) to 1)
-
Library errors? Try:
- Update pip: python -m pip install --upgrade pip
- Reinstall requirements
Contributions are welcome!
- Fork the project
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
Distributed under the MIT License. See LICENSE for details.
- MediaPipe for hand tracking models
- OpenCV for computer vision framework
- PyAutoGUI for screen control
Your Name - lokeshpaneru20508@gmail.com Project Link: https://github.com/Techy-Play/AirFlow