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.1.0.post1-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file python_potion-0.1.0.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for python_potion-0.1.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee572b4eb1236216cd7d6f85ca104ca9bb7e0cfb8d3bda4d708c8ae98bc6cdcf
MD5 91c482f8232a9d357e45651b0beb62e0
BLAKE2b-256 87ddb3450a8d4d3067dfbafc9fe43e93a1d7a8be8c83f4588040ff0e673b93e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_potion-0.1.0.post1-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