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.5.tar.gz
(5.9 kB
view details)
Built Distribution
File details
Details for the file easyaiapi-0.0.5.tar.gz
.
File metadata
- Download URL: easyaiapi-0.0.5.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 | c3e508f2b415666832ee167b587c272280091da8ea425875471173cff73bcb49 |
|
MD5 | 1c7eeeb77d2c059af5e90571581a6544 |
|
BLAKE2b-256 | cc4ae65ec05b4e3bc48c2a025f96e84620cd4ea5b1ed73db27a0bb9951b157dd |
File details
Details for the file easyaiapi-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: easyaiapi-0.0.5-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 | fc3d826e5fdb161fd894d41cf989aa599a78c27db2318aadde1268d903e3e9e3 |
|
MD5 | 2be68fdbd6a1d9c8218259a355bb7a36 |
|
BLAKE2b-256 | b6b6c4c081510d4e98df0b8fe68cf3986558dd800456d071f6b397a0449f0cf1 |