Unofficial Vision AI Live Video Analytics SDK
Project description
Vision AI Live Video Analytics SDK
Unofficial Vision AI SDK in Python. It's for building Live Video Analytics (LVA) program and CRUD LVA resources.
Installation
pip install useful-lva-sdk
Get started
Create an LVA program with this lib:
from useful_lva_sdk.core.lva_graph_builder import LvaGraphBuilder
from useful_lva_sdk.core.operator import *
graph = LvaGraphBuilder("test-analysis") \
.add_analyzer(GcsVideoSource(), "gcs_source") \
.add_analyzer(GcsProtoSink(), "gcs_sink") \
.add_analyzer(OccupancyCounting(), "oc") \
.connect("oc", "gcs_sink") \
.connect("gcs_source", "oc") \
.build()
Create an analysis with this lib:
from useful_lva_sdk.client.lva_client import LVAClient
analysis = graph.analysis()
client = LVAClient(
project="PROJECT_ID",
location="LOCATION_ID",
cluster="CLUSTER_ID",
)
client.create_analysis(analysis.name, analysis)
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
useful-lva-sdk-0.1.7.tar.gz
(16.2 kB
view details)
Built Distribution
File details
Details for the file useful-lva-sdk-0.1.7.tar.gz
.
File metadata
- Download URL: useful-lva-sdk-0.1.7.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
cab711e01243197b3cca70995ee96300cbfffe58ba82e5a32b1d135c0d473e47
|
|
MD5 |
d46c9513780f5469d9b7e3136e2bd069
|
|
BLAKE2b-256 |
917a9d2366e30e4646465f297eba3c784b9c80d4b68778c7d0ac56246da046da
|
File details
Details for the file useful_lva_sdk-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: useful_lva_sdk-0.1.7-py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c9e324108579acb5ac24bf804cde5fe1e51f37eb50a51d7e8b987bf2f478d6d0
|
|
MD5 |
cebc8a0fe75e8d0d5e7e9a5409cf6520
|
|
BLAKE2b-256 |
f31db9148cbbce159a31c7759167c2b9c1d4acec7827798f0d22d7453277203a
|