Skip to main content

Tools to help with the scripts created by asanAI

Project description

Asanai Python Module

Release Workflow

Asanai is a Python module that allows you to execute scripts generated from machine learning models created in the Asanai browser interface. 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

  1. Download your model In the Asanai browser interface, click "Download model data" (or "Modelldaten downloaden"). Place the downloaded file in the same folder as your generated Python script.

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

Project details


Release history Release notifications | RSS feed

This version

287

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asanai-287.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asanai-287-py3-none-any.whl (59.6 kB view details)

Uploaded Python 3

File details

Details for the file asanai-287.tar.gz.

File metadata

  • Download URL: asanai-287.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for asanai-287.tar.gz
Algorithm Hash digest
SHA256 8d62304dec854e17cf1bcbc7b8d75734550af58c2f5f505bdcd507038f2e24d6
MD5 bce94208a1bb6b6b0177c733ce00d716
BLAKE2b-256 1faa3a92d8b61c00dab325e3e8bd43459e602d1b4e387c4b75178b429a2957e3

See more details on using hashes here.

File details

Details for the file asanai-287-py3-none-any.whl.

File metadata

  • Download URL: asanai-287-py3-none-any.whl
  • Upload date:
  • Size: 59.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for asanai-287-py3-none-any.whl
Algorithm Hash digest
SHA256 1ed66e5c735d8072f3e860234a6b0d9838fc8eb094ce19505b081d76217279dc
MD5 1851ee43a6d70f2ec77990c769a9b135
BLAKE2b-256 0005f575d188731a9eee2d4216e827ece6cd5560a087dd919892d0e11c7b75b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page