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

288

Download files

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

Source Distribution

asanai-288.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-288-py3-none-any.whl (59.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: asanai-288.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-288.tar.gz
Algorithm Hash digest
SHA256 4e0ee1c1dc39c5784e3cc8f31e05d5a974420f34f83245e8204a5ac69e99c5a6
MD5 9f26489f4259d90e28d1b1cd4a956abb
BLAKE2b-256 4bba8a4ed580eeba2ec295ab786387841451fce3fd89b047039c0284a6b60f7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asanai-288-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-288-py3-none-any.whl
Algorithm Hash digest
SHA256 cc4f02b20a88d9e6aa8dc26055582efeeea33640b6f3d6767ac8d6586699968e
MD5 e737a5a9cb0804d32d6f1461afa1adc9
BLAKE2b-256 5ee49523b2e1c11b93e5277ab95a20235cb8ffb3666517cc32f7b5aa8e808b02

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