Skip to content

Mayurkoli8/Hand-Scroller

Repository files navigation

Hand Gesture Control

A Python-based application that allows you to control your computer using hand gestures via a webcam.

Features

  • Mouse Control: Move the cursor by pointing with your index finger.
  • Click: Pinch your thumb and index finger to click.
  • Scroll: Close your middle and ring fingers to scroll down; open them to scroll up.
  • Minimize: Minimize the active window.
  • Visual Interface: Real-time overlay showing detected gestures and finger states.

Requirements

  • Python 3.7+
  • Webcam

Installation

  1. Clone the repository.
  2. Install dependencies:
    pip install -r requirements.txt

Usage

  1. Run the application:
    python main.py
  2. Use the following gestures:
    • Point: Extend Index finger (L-shape).
    • Click: Pinch Thumb and Index.
    • Scroll Down: Close Middle and Ring fingers.
    • Scroll Up: Open Middle and Ring fingers.
    • Idle: Open Palm.

Troubleshooting

  • Ensure good lighting.
  • If gestures aren't detected, check the "Fingers" debug display at the top of the screen.

About

A Python-based application that allows you to control your computer using hand gestures via a webcam.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors