Skip to main content

Control your computer with gestures.

Project description

Gesys

Gesys is an evolving module that provides a high-level API for recognizing hand gestures using a webcam

Get started

Install gesys module

pip install gesys

Run simple example

from Gesys.gesys import GesysStatic
import cv2

FPS = 10 # choose FPS
gs = GesysStatic(10) # create recognizer
cap = cv2.VideoCapture(0)

while True:
    # 1. get a frame from the camera
    _, frame = cap.read()

    # 2. recognize gesture
    gesture = gs.frame(frame) 

    # 3. print the gesture if it is not trash
    if(gesture != 'thrash'):
        print(gesture)

    cv2.imshow('w', frame)
    if(cv2.waitKey(1)>0):
        break
cv2.destroyAllWindows()

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

gesys-1.1.12.tar.gz (296.3 kB view hashes)

Uploaded Source

Built Distribution

gesys-1.1.12-py3-none-any.whl (295.9 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