A Hand tracking module
Project description
HT (Silicon Mac)
A package that allows to track the x, y, z locations of specific points from 0-20 in your hands.
Key Features • How To Use • Install •
Key Features
- Tracks your hand
- The hand connections or lines can be show or hidden
- Works for almost all computers
- Quick and not much lag
- Simple code that is easy to understand and customize if needed
How To Use
The following code gets the x, y locations of the index finger tip and moves the mouse accordingly
import htsilicon
import cv2
cap = cv2.VideoCapture(0)
handt = htsilicon.ht()
while 1:
success, img = cap.read()
img = handt.findhand(img, show_lines=False)
lml = handt.findpos()
if len(lml) != 0:
print(lml[8])
cv2.imshow("Box", img)
cv2.waitKey(1)
Install
Install with pip
$ pip install htsilicon
License
MIT
http://advaith.athenaserv.com · GitHub @advaith-22 · Twitter @_Advaith_S
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
htsilicon-0.2.tar.gz
(3.4 kB
view hashes)