Skip to main content

Live video inference

Project description

Potion

Live video inference tool which relies on VALI. Use it to run your inference on network stream:

  • RTSP
  • HLS
  • Or something else that FFMpeg supports

Install:

pip install python_potion

Usage example:

python3 -m python_potion \
  -i http://media.sever/rtsp_stream
  -o detections.json
  -t 5
  -d dump
  -n 3
  -gpu_id 0

What does it mean ?

options:
  -h, --help            show this help message and exit
  -gpu_id GPU_ID, --gpu-id GPU_ID
                        GPU id, check nvidia-smi
  -i INPUT, --input INPUT
                        Encoded video file (read from)
  -o OUTPUT, --output OUTPUT
                        output json file name
  -t TIME, --time TIME  processing time, s.
  -d DUMP, --dump DUMP  dump video filename without extension
  -n NUM_RETRIES, --num_retries NUM_RETRIES
                        number of attepts to respawn video reader in case of failure

For example it runs SSD3 PyTorch model.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_potion-0.2.0.post5-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file python_potion-0.2.0.post5-py3-none-any.whl.

File metadata

File hashes

Hashes for python_potion-0.2.0.post5-py3-none-any.whl
Algorithm Hash digest
SHA256 062f09f9be9a9f06fd9b18debb82e7bf4fc754f7b17d69bf2464df91014fe640
MD5 79bcaeb1340b1fabb052b60119d65f28
BLAKE2b-256 25142cf7163efc4836002e8a6b6bd178968a03060180e3e51fac3c246c3a4e6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_potion-0.2.0.post5-py3-none-any.whl:

Publisher: OnTaggedCommitPush.yml on RomanArzumanyan/Potion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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