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.7.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for easyaiapi-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c380df451634c584571c79613ad298cdc02ccf98f38dd6fbbcad90ed6da30c80 |
|
MD5 | 9530f50458d8547612b4514aa06da477 |
|
BLAKE2b-256 | cd0ad7f2725af578157d455daab182b2d769837ecf0fca35bc70ffb2490edc38 |