StreamGrid ⚡
Ultra-fast multi-stream video display, Run real-time object detection across multiple video feeds with real-time speed. Whether you're on CPU or GPU, StreamGrid handles the load like a champ.
From smart surveillance to AI-powered dashboards, StreamGrid makes it effortless to display and analyze multiple video streams side-by-side, with Ultralytics YOLO-based detection running on all of them in real time.
Installation
pip install streamgrid
Quick Start
Python
from ultralytics import YOLO
from streamgrid import StreamGrid
# Load model
model = YOLO("yolo11n.pt")
# model = YOLO("yolo11n_openvino_model") ~2-3x faster
StreamGrid(model=model)
# Inference on GPU
StreamGrid(
sources=[
"path/to/video1.mp4", "path/to/video2.mp4",
"path/to/video3.mp4", "path/to/video4.mp4"
],
device="cuda")
# Store stream results in CSV file
StreamGrid(sources=sources, analytics=True)
CLI (Command Line Interface)
streamgrid model=yolo11n.pt
# Run inference with GPU device
streamgrid model=yolo11n.pt device=0
# save the output
streamgrid model=yolo11n.pt device=cpu save=True
# Pass source
streamgrid model=yolo11n.pt sources=["video1.mp4", "video2.mp4"]
# Store Stream results in CSV file
streamgrid model=yolo11n.pt analytics=True
Performance (Beta, final benchmarks will be released soon)
StreamGrid automatically optimizes performance based on the number of streams:
- 1-2 streams: 640×360 resolution, up to 15 FPS per stream
- 3-4 streams: 480×270 resolution, up to 10 FPS total (CPU processing)
- 5-9 streams: 320×180 resolution, up to 5 FPS per stream
- 10+ streams: 240×135 resolution, up to 3 FPS per stream
Note: Performance benchmarks are based on CPU processing. GPU acceleration can significantly improve throughput.
Contributing
We welcome contributions! Please feel free to submit a Pull Request or open an issue for discussion.
Metadata
Release files for streamgrid 1.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| streamgrid-1.0.10.tar.gz | 25.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| streamgrid-1.0.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.3 kB
Release files / streamgrid-1.0.10.tar.gz
| Download URL | streamgrid-1.0.10.tar.gz |
|---|---|
| Size | 25.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
639771debdc53bf573c7dd5a13c31cb97fd4f8fa4f77cb6c1adc3b2639b2f8c1
|
|
BLAKE2b-256 checksum How to use checksums |
1112d3bb6238345e06fadb6434678d7d2369169e195593d483180278e7fcc1b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / streamgrid-1.0.10-py3-none-any.whl
| Download URL | streamgrid-1.0.10-py3-none-any.whl |
|---|---|
| Size | 24.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1fba93fcd2ac7777c5e134723a5da7fb4c8b80277a2b9c9d9b1a316073ed2bec
|
|
BLAKE2b-256 checksum How to use checksums |
bf138cd54a1019bd758a0e8cc5351b507904fe042eaa2ecc74b9ef35ecd8d761
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for streamgrid 1.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.