Quickly deploy AI models using http or Websockets
Project description
FastAi API
from fastaiapi import background_thread, WssClient, WssServer
from fastaiapi.utils import read_base64_image
TARGET_SOCKET_URL = "[ENTER TARGET WS URL]"
client = WssClient()
@client.from_video_source(TARGET_SOCKET_URL, 0)
def on_data_received(data):
print(data)
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
easyaiapi-0.0.6.tar.gz
(5.9 kB
view details)
Built Distribution
File details
Details for the file easyaiapi-0.0.6.tar.gz
.
File metadata
- Download URL: easyaiapi-0.0.6.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f88026b59129583fc0ff5b309d94034e83a507c7abe0192fe36ae9c364805620 |
|
MD5 | a0294fed94679dcc468cdde7a4095bed |
|
BLAKE2b-256 | 7661f471ca33d5c4767378ee089dea5480f906b3fc017d8d2f37b3434190fb7e |
File details
Details for the file easyaiapi-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: easyaiapi-0.0.6-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43df610aeafb2bc48625209a7b748f83753aef9252b4dca079791731429ecbe7 |
|
MD5 | b37b7050128e0937696d768f2b0e7709 |
|
BLAKE2b-256 | 8ca9350a2d72c7b8db7f6109c9bac1e3f1d5835c5c8d60c20007758f39fc03f9 |