Skip to content

aartisonigra/hand-gesture-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

aarti

βœ‹ Hand Gesture Controller

Control your keyboard using hand gestures captured from your webcam using AI-powered hand tracking.
This Python project uses Mediapipe, OpenCV, and PyAutoGUI to map finger gestures into directional keyboard commands (up, down, left, right).


🧠 Features

  • πŸ€– Real-time hand tracking with Mediapipe
  • ✌️ Finger gesture detection (Thumb, Index, Middle, etc.)
  • ⌨️ Keyboard control with gestures:
    • 4+ fingers: Jump (↑)
    • 0 fingers: Slide (↓)
    • 1 finger (left side): Move Left (←)
    • 1 finger (right side): Move Right (β†’)
  • πŸ”„ Cooldown system to avoid repeated triggers
  • πŸ‘€ Live gesture feedback on screen

πŸ›  Tech Stack

  • Python
  • OpenCV
  • Mediapipe
  • PyAutoGUI

πŸš€ How to Run Locally

  1. Clone the repository

    git clone https://github.com/aartisonigra/hand-gesture-controller.git
    cd hand-gesture-controller
    
    

2.Install dependencies:

pip install opencv-python mediapipe pyautogui

3.Run the script:

python app.py

πŸ“ Project Structure

hand-gesture-controller/ β”œβ”€β”€ hand_gesture_control.py # Main Python script β”œβ”€β”€ README.md # This file └── .gitignore # Git ignored files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published