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 details)
Built Distribution
File details
Details for the file easyaiapi-0.0.7.tar.gz
.
File metadata
- Download URL: easyaiapi-0.0.7.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 | d019ac1c6a4336f6bf8630b885ea4bedeaea40118dcb81e2e31bb8ab88305060 |
|
MD5 | 93c6f99809ffc0dec44fa1479bac3318 |
|
BLAKE2b-256 | f0bee0cde6e4fef8932193f24bdc4bb023aa68df8fd858713a8b603ae03ccc16 |
File details
Details for the file easyaiapi-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: easyaiapi-0.0.7-py3-none-any.whl
- Upload date:
- Size: 9.2 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 | c380df451634c584571c79613ad298cdc02ccf98f38dd6fbbcad90ed6da30c80 |
|
MD5 | 9530f50458d8547612b4514aa06da477 |
|
BLAKE2b-256 | cd0ad7f2725af578157d455daab182b2d769837ecf0fca35bc70ffb2490edc38 |