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
Built Distribution
Close
Hashes for teachable_machine-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76c6f5dcf99d306863021cb193fb27ca3cc30fb88676d76764ea406ad6afbdee |
|
MD5 | 51c13fbc38480c9df8b9ca848a9d732d |
|
BLAKE2b-256 | ffae4b9a5605f36a00a9f67845d8d1d95a3c3bb588cf79e6e615a95c4b9c58eb |