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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_potion-0.1.0.post1-py3-none-any.whl.
File metadata
- Download URL: python_potion-0.1.0.post1-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee572b4eb1236216cd7d6f85ca104ca9bb7e0cfb8d3bda4d708c8ae98bc6cdcf
|
|
| MD5 |
91c482f8232a9d357e45651b0beb62e0
|
|
| BLAKE2b-256 |
87ddb3450a8d4d3067dfbafc9fe43e93a1d7a8be8c83f4588040ff0e673b93e0
|
Provenance
The following attestation bundles were made for python_potion-0.1.0.post1-py3-none-any.whl:
Publisher:
OnTaggedCommitPush.yml on RomanArzumanyan/Potion
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
python_potion-0.1.0.post1-py3-none-any.whl -
Subject digest:
ee572b4eb1236216cd7d6f85ca104ca9bb7e0cfb8d3bda4d708c8ae98bc6cdcf - Sigstore transparency entry: 158741657
- Sigstore integration time:
-
Permalink:
RomanArzumanyan/Potion@acdf75515a2e64d183f860ec893cf3f5118b0fed -
Branch / Tag:
refs/heads/main - Owner: https://github.com/RomanArzumanyan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
OnTaggedCommitPush.yml@acdf75515a2e64d183f860ec893cf3f5118b0fed -
Trigger Event:
workflow_dispatch
-
Statement type: