Skip to main content

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)

Uploaded Source

Built Distribution

useful_lva_sdk-0.1.7-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

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

Hashes for useful-lva-sdk-0.1.7.tar.gz
Algorithm Hash digest
SHA256 cab711e01243197b3cca70995ee96300cbfffe58ba82e5a32b1d135c0d473e47
MD5 d46c9513780f5469d9b7e3136e2bd069
BLAKE2b-256 917a9d2366e30e4646465f297eba3c784b9c80d4b68778c7d0ac56246da046da

See more details on using hashes here.

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

Hashes for useful_lva_sdk-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c9e324108579acb5ac24bf804cde5fe1e51f37eb50a51d7e8b987bf2f478d6d0
MD5 cebc8a0fe75e8d0d5e7e9a5409cf6520
BLAKE2b-256 f31db9148cbbce159a31c7759167c2b9c1d4acec7827798f0d22d7453277203a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page