Skip to content

srijan-76448/Hand-Traking-Module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HandTracker or HandTrakingModule

Visitors

It is a simple module to detect hands and do simple projects with hand recognition and machine learning.

Hand Detector

Uses:

  1. To find and detect hand.
  2. To find 21 landmarks in each hand.
  3. To find the distance between any 2 landmarks.
  4. To find if a finger is up or not.
  5. Can create a rectangle for the best hand detection zone.

Functions and their least requirements:

  1. HandDetector.FindHands: Requires image (with atleast one hand); Returns an image with hand landmarks drawn on it
  2. HandDetector.FindLocation: Requires image (with atleast one hand); Returns location of hand landmarks lmloc (dict), location of hand handloc (dict)
  3. HandDetector.DrawLandmarks: Requires image (with atleast one hand), index int value more than -1 but less than 21; Returns None
  4. HandDetector.fingersUp: Requires image (with atleast one hand); Returns info dict [fingername: bool]
  5. HandDetector.fingersUp_PROTO: Requires None; Returns info dict [fingername: bool]
  6. HandDetector.findDistance: Requires image (with atleast one hand), id numbers of any two landmarks; Returns image with those landmarks drawn on it and a line connection those and the center point of that line, length the disance between
  7. HandDetector.FindingZone: Requires image (with atleast one hand); Returns location of rectangle FindingZonedim for the best hand detection zone

Other Uses

  1. It can provide all the finger names used in this module, which is stored in Fingers.
  2. It can provide all the hand landmarks, which is stored in HandLandmark.
  3. It can provide all the ways to flip an image by 'opencv-python', which is stored in CVFlipCodes.
  4. It can provide all the corner point names used in this module, which is stored in CornerPoints.
  5. It can put text at any given coordinate on the image screen with a background, with the help of PutText function.

Hand Landmarks

Hand Landmarks

Acknowledgement

For further information about any module, please see for the docs provided in each of the modules.

Thank You 🙂

About

Simple Hand Ditttection Module based on opencv-python and mediapipe.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages