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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file htamd-0.2.tar.gz.

File metadata

  • Download URL: htamd-0.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for htamd-0.2.tar.gz
Algorithm Hash digest
SHA256 5540a6d1e5ee5317e79c6b9e8daf2678fdb60caf5f8336cb500c14b261eebb63
MD5 64bbf26574bae3cce09a7ed154b0ea67
BLAKE2b-256 8fad21f1a2e6ef444b7f84ea4fd47874d629114ecb64fb38998ef530e95a6cbf

See more details on using hashes here.

File details

Details for the file htamd-0.2-py3-none-any.whl.

File metadata

  • Download URL: htamd-0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for htamd-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f86886435d2d6fb7ad15f6f95a0e9f959447515e4248501b8798067c9e4fe401
MD5 ff94affcac17f5863dcb1b304ed1e21a
BLAKE2b-256 e0cc684e8cf0335f5ba4b14112c99df6b14a464a49cd6ea2c19c55b7f78cc6f8

See more details on using hashes here.

Supported by

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