Skip to content

A Python application that lets you control your mouse cursor using hand gestures via webcam input. Utilize right-hand fist movements to move the cursor and left-hand pinch gestures to simulate clicks. Includes face detection to ensure privacy by turning the screen black with a "No Face Detected" message when you're not present.

Notifications You must be signed in to change notification settings

Th30utcast/Tracking-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Hand Tracking Cursor Control with Face Detection

This project allows you to control your mouse cursor using hand gestures detected through your webcam. It incorporates face detection to ensure the system only operates when you're present.

Features

  • Cursor Movement:

    • Right Hand Closed Fist: Move the cursor by moving your right hand while making a fist.
  • Mouse Click Simulation:

    • Left Hand Pinch Gesture: Perform a mouse click by pinching your thumb and index finger.
  • Face Detection:

    • If no face is detected, the screen turns black and displays "No Face Detected".

Getting Started

Prerequisites

  • Python 3.7 or higher
  • Libraries:
    • OpenCV (opencv-python)
    • MediaPipe (mediapipe)
    • PyAutoGUI (pyautogui)
    • NumPy (numpy)
    • Tkinter (usually included with Python)

Installation

  1. Clone the Repository:

    git clone https://github.com/Th30utcast/Tracking-Project.git

About

A Python application that lets you control your mouse cursor using hand gestures via webcam input. Utilize right-hand fist movements to move the cursor and left-hand pinch gestures to simulate clicks. Includes face detection to ensure privacy by turning the screen black with a "No Face Detected" message when you're not present.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages