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
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
gesys-1.1.11.tar.gz
(296.2 kB
view hashes)
Built Distribution
gesys-1.1.11-py3-none-any.whl
(295.8 kB
view hashes)