Skip to main content

A package to quickly train and predict head gestures

Project description

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

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

# 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-1.1.2.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

head_controller-1.1.2-py3.7.egg (18.9 kB view details)

Uploaded Source

File details

Details for the file head_controller-1.1.2.tar.gz.

File metadata

  • Download URL: head_controller-1.1.2.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for head_controller-1.1.2.tar.gz
Algorithm Hash digest
SHA256 e195d007bc135226e1c8704a8ada0fabbd2bf36cae02680fcb3251c77163cb29
MD5 4b1150ebd8de66aa6ca7030d895fb3db
BLAKE2b-256 e01d648aafa393afea535bc1f37de05f24c7350b0cb1629bbdbfc372c7b4dd37

See more details on using hashes here.

File details

Details for the file head_controller-1.1.2-py3.7.egg.

File metadata

  • Download URL: head_controller-1.1.2-py3.7.egg
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for head_controller-1.1.2-py3.7.egg
Algorithm Hash digest
SHA256 ca1a912752962e9c713662294f38960e307d99b7a51967d69ccf74d20b1bb94f
MD5 6f5016dddc505a2e01e9610f479660f2
BLAKE2b-256 5f2b3c842d4045faf931af02eebb41aca2c1bc11dd316161338c0e32525e3040

See more details on using hashes here.

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