Skip to main content

A Hand tracking module

Project description


Markdownify
HT (AMD Intel System)

A package that allows to track the x, y, z locations of specific points from 0-20 in your hands. (AMD Intel System)


Key FeaturesHow To UseInstall

screenshot

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 htamd
import cv2

cap = cv2.VideoCapture(0)

handt = htamd.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 htamd

License

MIT


http://advaith.athenaserv.com  ·  GitHub @advaith-22  ·  Twitter @_Advaith_S

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

htamd-0.2.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

htamd-0.2-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page