Skip to main content

A Python package to simplify the deployment process of exported Teachable Machine models.

Project description

Teachable Machine

A Python package to simplify the deployment of exported Teachable Machine models into different environments like PC, Raspberry Pi and so on.

Link on PyPI: https://pypi.org/project/teachable-machine/

Requirements

Python >= 3.8

How to install package

pip install teachable-machine

Dependencies

numpy, Pillow, tensorflow

How to use teachable machine package

from teachable_machine import TeachableMachine

my_model = TeachableMachine(model_path='keras_model.h5', deployment_env='pc')

img_path = 'images/my_image.jpg'

highest_prediction, predictions = my_model.classify_on_pc(img_path)

More features are coming...

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

teachable-machine-0.1.1.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

teachable_machine-0.1.1-py3-none-any.whl (3.0 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