asanAI Python Module
asanAI is a Python module that allows you to execute scripts generated from machine learning models created in asanAI. It handles all necessary conversions from TensorFlow.js to Python and provides seamless integration for running, visualizing, and interacting with models locally.
⚠️ Note: Users typically do not need to install this module manually. It is automatically handled by the scripts generated by asanAI.
Features
- Execute scripts generated from asanAI directly in Python.
- Automatic conversion of TensorFlow.js models to Python TensorFlow (Keras) format.
- Support for TensorFlow Sequential models.
- Visualization support for:
- Webcam input
- Static image input
- Simple and complex image outputs
- Classification outputs with labeled probabilities
- Beginner-friendly while still supporting advanced usage.
Getting Started
-
Create model On asanAI, create and train a model
-
Download your model On asanAI, click Code and there, "Download model data" (or "Modelldaten downloaden"). Place the downloaded file in the same folder as your generated Python script.
-
Run the script
python3 your_script.py # Predict using webcam or default behavior
python3 your_script.py 1.jpg 2.jpg 3.jpg # Predict on specific images
Metadata
Release files for asanAI 392
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| asanai-392.tar.gz | 25.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asanai-392-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 85.7 kB
Release files / asanai-392.tar.gz
| Download URL | asanai-392.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a6844a6c4156e234e9c9728fbdf966eabd5f51fc1cac7cbbfb9c7dd9289d07b
|
|
BLAKE2b-256 checksum How to use checksums |
e4b00be75f0a52443f45e86615bb4244ea9d18fabfb999e2acaef82f8bda42dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / asanai-392-py3-none-any.whl
| Download URL | asanai-392-py3-none-any.whl |
|---|---|
| Size | 59.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
440811a850dba75442217700b123dc2bdd93f1956eca20bf08cb059ade5c64de
|
|
BLAKE2b-256 checksum How to use checksums |
3749d4b4c0b55790dd44ebca2ce67d89c74903c99a2191c169121d0ac95f749e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|