Skip to content

Machine learning and computer vision program that track your hands

Notifications You must be signed in to change notification settings

Gill-tech/Handtracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

This module uses the Mediapipe library to perform hand tracking and extract hand landmarks using a webcam.

Requirements

  • Python 3.x
  • OpenCV
  • Mediapipe

Installation

  1. Install the required libraries:
    pip install opencv-python mediapipe
    
    Usage

The module initializes the camera (default index 0) and continuously tracks hands. It displays the live camera feed with hand landmarks and FPS counter.

HandDetector Class The HandDetector class provides a simple interface for hand tracking:

findHands(img, draw=True): Detects and draws hand landmarks on the image. findPosition(img, handNumber=0): Returns a list of landmark positions for a specified hand.

About

Machine learning and computer vision program that track your hands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages