Skip to content

VirajShankar/spacebar_wasd_gesture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hand Gesture WASD Controller

A computer vision project that allows you to control applications using WASD keys through hand gestures captured by your webcam.

Features

  • Control WASD keyboard inputs using hand gestures
  • Visual interface with grid lines showing control regions
  • Real-time hand tracking and visualization
  • Adjustable sensitivity and control parameters

Requirements

  • Python 3.6+
  • OpenCV
  • MediaPipe
  • PyAutoGUI `

Usage

Run the main script:

python main.py

Controls:

  • Move your index finger to the top section to press 'W'
  • Move your index finger to the bottom section to press 'S'
  • Move your index finger to the left section to press 'A'
  • Move your index finger to the right section to press 'D'
  • Keep your finger in the center for no action
  • Press 'q' to quit the application

Project Structure

  • main.py: Entry point for the application
  • hand_controller.py: Handles hand detection and gesture processing
  • visualization.py: Manages the visual interface and display

Customization

You can modify the sensitivity

Acknowledgements

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages