{"id":29627646,"url":"https://github.com/rizwanmunawar/streamgrid","last_synced_at":"2025-07-21T08:05:34.618Z","repository":{"id":303446534,"uuid":"1011076086","full_name":"RizwanMunawar/streamgrid","owner":"RizwanMunawar","description":"Multi-stream video inference with Ultralytics YOLO - Display multiple video streams in a grid layout with real-time object detection.","archived":false,"fork":false,"pushed_at":"2025-07-20T13:55:30.000Z","size":72,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-20T15:14:39.513Z","etag":null,"topics":["computer-vision","deep-learning","multi-stream-player","multistreaming","notebook","object-detection","object-tracking","open-source","opencv-python","python-apps","research-and-development","streamgrid","threading","ultralytics","ultralytics-yolo","yolo11","yolov8"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RizwanMunawar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-30T09:07:49.000Z","updated_at":"2025-07-20T13:53:29.000Z","dependencies_parsed_at":"2025-07-17T16:26:27.623Z","dependency_job_id":"8bb9b4d7-297a-410f-b367-cced8c9d1600","html_url":"https://github.com/RizwanMunawar/streamgrid","commit_stats":null,"previous_names":["rizwanmunawar/streamgrid"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/RizwanMunawar/streamgrid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RizwanMunawar%2Fstreamgrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RizwanMunawar%2Fstreamgrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RizwanMunawar%2Fstreamgrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RizwanMunawar%2Fstreamgrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RizwanMunawar","download_url":"https://codeload.github.com/RizwanMunawar/streamgrid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RizwanMunawar%2Fstreamgrid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266263057,"owners_count":23901356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computer-vision","deep-learning","multi-stream-player","multistreaming","notebook","object-detection","object-tracking","open-source","opencv-python","python-apps","research-and-development","streamgrid","threading","ultralytics","ultralytics-yolo","yolo11","yolov8"],"created_at":"2025-07-21T08:05:33.273Z","updated_at":"2025-07-21T08:05:34.607Z","avatar_url":"https://github.com/RizwanMunawar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StreamGrid ⚡\n\nUltra-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.\n\nFrom smart surveillance to AI-powered dashboards, StreamGrid makes it effortless to display and analyze multiple video streams side-by-side, with [Ultralytics](https://github.com/ultralytics/ultralytics) YOLO-based detection running on all of them in real time.\n\n[![Run CI](https://github.com/RizwanMunawar/streamgrid/actions/workflows/ci.yml/badge.svg)](https://github.com/RizwanMunawar/streamgrid/actions/workflows/ci.yml)\n[![PyPI Downloads](https://static.pepy.tech/badge/streamgrid)](https://pepy.tech/projects/streamgrid)\n[![PyPI version](https://img.shields.io/pypi/v/streamgrid.svg)](https://pypi.org/project/streamgrid/)\n\n## Installation\n\n```bash\npip install streamgrid\n```\n\n## Quick Start\n\n### Python\n\n```python\nfrom ultralytics import YOLO\nfrom streamgrid import StreamGrid\n\n# Use assets videos for testing\nmodel = YOLO(\"yolo11n.pt\")\nStreamGrid(model=model)  \n\n# Use your own videos\nsources = [\"video1.mp4\", \"video2.mp4\", \"video3.mp4\", \"video4.mp4\"]\nStreamGrid(sources=sources, model=model)\n\n# Inference on GPU\nStreamGrid(sources=sources, device=\"cuda\")\n```\n\n### CLI (Command Line Interface)\n\n```bash\nstreamgrid model=yolo11n.pt\n\n# Run inference with GPU device\nstreamgrid model=yolo11n.pt device=0  \n\n# save the output\nstreamgrid model=yolo11n.pt device=cpu save=True\n\n# Pass source\nstreamgrid model=yolo11n.pt sources=[\"video1.mp4\", \"video2.mp4\"]\n```\n\n## Performance (Beta, final benchmarks will be released soon)\n\nStreamGrid automatically optimizes performance based on the number of streams:\n\n- **1-2 streams**: 640×360 resolution, up to 15 FPS per stream\n- **3-4 streams**: 480×270 resolution, up to 10 FPS total (CPU processing)\n- **5-9 streams**: 320×180 resolution, up to 5 FPS per stream\n- **10+ streams**: 240×135 resolution, up to 3 FPS per stream\n\n*Note: Performance benchmarks are based on CPU processing. GPU acceleration can significantly improve throughput.*\n\n## Contributing\n\nWe welcome contributions! Please feel free to submit a Pull Request or open an issue for discussion.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizwanmunawar%2Fstreamgrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frizwanmunawar%2Fstreamgrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizwanmunawar%2Fstreamgrid/lists"}