Skip to main content

A Hand tracking module

Project description


Markdownify
HT (Silicon Mac)

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


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


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

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: htsilicon-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 htsilicon-0.2.tar.gz
Algorithm Hash digest
SHA256 27288ac8c5dd9ed4dd96e6cc1bb1736ac9a082cc6bbdcbd9b005fcea7af08d80
MD5 ec92dc4120888e09dc97020f70fee961
BLAKE2b-256 dec5185cd3c33529ad30e785da755f4746a0a96dd3d2ba3c0e61189e44a05540

See more details on using hashes here.

File details

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

File metadata

  • Download URL: htsilicon-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 htsilicon-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 404f3122f1ddf5c86a242fb34ca10389b1b6e8fd294eb353dcb363a1014fe7a4
MD5 4f700d6f44aac8dc84de1b2417d2dfbb
BLAKE2b-256 045753e156326f5deed8a8b3d1f9be2549c6469dc43905197c3f6940315766d7

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