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 hashes)
Built Distribution
Close
Hashes for easyaiapi-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43df610aeafb2bc48625209a7b748f83753aef9252b4dca079791731429ecbe7 |
|
MD5 | b37b7050128e0937696d768f2b0e7709 |
|
BLAKE2b-256 | 8ca9350a2d72c7b8db7f6109c9bac1e3f1d5835c5c8d60c20007758f39fc03f9 |