Skip to main content

A package to quickly train and predict head gestures

Project description

import head_controller.Camera as Camera import head_controller.db as db

Requirements

  • Anaconda Python >= 3.7

##Quickstart Quickly train 4 gestures for the model to learn. Press the UP, DOWN, RIGHT, and LEFT arrows on your keyboard to 'label' each gesture in realtime. After 30 seconds you'll be prompted to save (append) the new training data. It will immediately show you a cross-validation score of the fitted data. Initialize, Train, and Predict in less than 60 seconds (using your webcam).

# Initialize gesture training data
db.setup_db()

# Capture webcam gestures with live arrow-key labelling
Camera.capture_review_submit_labels()

# Realtime predict webcam gestures
Camera.check_video_frame_data_predict()

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

head_controller-0.1.6.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

head_controller-0.1.6-py3.7.egg (19.0 kB view hashes)

Uploaded Source

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