-
Notifications
You must be signed in to change notification settings - Fork 110
[New app] Add Live Video Search stack with Smart NVR and VSS Search integration #1539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
bhardwaj-nakul
merged 26 commits into
open-edge-platform:main
from
bhardwaj-nakul:live-video-search
Feb 16, 2026
Merged
Changes from 2 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
cb1012e
Add Live Video Search stack with Smart NVR and VSS Search integration
bhardwaj-nakul 2736f31
Merge branch 'open-edge-platform:main' into live-video-search
bhardwaj-nakul 249aa99
Refactor Live Video Search configuration and documentation for RTSP s…
bhardwaj-nakul ec9eb47
Add USB camera support and update documentation for Live Video Search
bhardwaj-nakul e167ab2
Add output_args for USB camera recording configuration
bhardwaj-nakul d8a5563
Enhance device selection for DataPrep and Embedding services in setup…
bhardwaj-nakul 638ac6d
Update output_args for USB camera recording to use segmented MP4 format
bhardwaj-nakul 1f6a56c
Merge branch 'main' into live-video-search
bhardwaj-nakul 63f7c80
Update MinIO image and enhance setup script for container management
bhardwaj-nakul b3d4bdf
Refactor Frigate configuration: reduce retention days to 0.5, enhance…
bhardwaj-nakul c4cbea8
Merge branch 'main' into live-video-search
bhardwaj-nakul 55c0927
sanity
bhardwaj-nakul 3d95e5a
Merge branch 'live-video-search' of https://github.com/bhardwaj-nakul…
bhardwaj-nakul a337b9e
Remove redundant record retention settings from camera configuration
bhardwaj-nakul aeecd09
Merge branch 'main' into live-video-search
bhardwaj-nakul a4ee4b0
Update telemetry configuration: replace fps.txt with dataprep_embeddi…
bhardwaj-nakul d2b7b65
Merge branch 'live-video-search' of https://github.com/bhardwaj-nakul…
bhardwaj-nakul f25f723
Update environment variable TAG in getting started guide to version 1…
bhardwaj-nakul 373b3ef
Merge branch 'main' into live-video-search
bharagha 9819cc3
Refactor Frigate configuration: remove unused detect sections and con…
bhardwaj-nakul c1c11f6
Merge branch 'live-video-search' of https://github.com/bhardwaj-nakul…
bhardwaj-nakul 6089f9c
Merge branch 'main' into live-video-search
bhardwaj-nakul 89ed925
Add ROI consolidation feature to video search configuration
bhardwaj-nakul dc40888
Merge pull request #1 from bhardwaj-nakul/feat/add-roi-consolidation
bhardwaj-nakul b69cb12
Merge branch 'main' into live-video-search
bhardwaj-nakul 192f245
Merge branch 'main' into live-video-search
bhardwaj-nakul File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
149 changes: 149 additions & 0 deletions
149
metro-ai-suite/live-video-analysis/live-video-search/.gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,149 @@ | ||
| # Byte-compiled / optimized / DLL files | ||
| __pycache__/ | ||
| *.py[cod] | ||
| *$py.class | ||
|
|
||
| # C extensions | ||
| *.so | ||
|
|
||
| # Distribution / packaging | ||
| .Python | ||
| build/ | ||
| develop-eggs/ | ||
| dist/ | ||
| downloads/ | ||
| eggs/ | ||
| .eggs/ | ||
| lib/ | ||
| lib64/ | ||
| parts/ | ||
| sdist/ | ||
| var/ | ||
| wheels/ | ||
| pip-wheel-metadata/ | ||
| share/python-wheels/ | ||
| *.egg-info/ | ||
| .installed.cfg | ||
| *.egg | ||
| MANIFEST | ||
|
|
||
| # PyInstaller | ||
| # Usually these files are written by a python script from a template | ||
| # before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
| *.manifest | ||
| *.spec | ||
| charts/ | ||
| # Installer logs | ||
| pip-log.txt | ||
| pip-delete-this-directory.txt | ||
|
|
||
| # Unit test / coverage reports | ||
| htmlcov/ | ||
| .tox/ | ||
| .nox/ | ||
| .coverage | ||
| .coverage.* | ||
| .cache | ||
| nosetests.xml | ||
| coverage.xml | ||
| *.cover | ||
| *.py,cover | ||
| .hypothesis/ | ||
| .pytest_cache/ | ||
| test-results/ | ||
|
|
||
| # Virtual environments | ||
| .env | ||
| .venv | ||
| env/ | ||
| venv/ | ||
| ENV/ | ||
| env.bak/ | ||
| venv.bak/ | ||
|
|
||
| # Environment variables | ||
| .env.local | ||
| .env.development | ||
| .env.test | ||
| .env.production | ||
|
|
||
| # Jupyter Notebook | ||
| .ipynb_checkpoints | ||
|
|
||
| # pyenv | ||
| .python-version | ||
|
|
||
| # Spyder project settings | ||
| .spyderproject | ||
| .spyproject | ||
|
|
||
| # Rope project settings | ||
| .ropeproject | ||
|
|
||
| # mkdocs documentation | ||
| /site | ||
|
|
||
| # mypy | ||
| .mypy_cache/ | ||
| .dmypy.json | ||
| dmypy.json | ||
|
|
||
| # Pyre type checker | ||
| .pyre/ | ||
|
|
||
| # IDE files | ||
| .vscode/ | ||
| .idea/ | ||
| *.swp | ||
| *.swo | ||
| *~ | ||
|
|
||
| # OS generated files | ||
| .DS_Store | ||
| .DS_Store? | ||
| ._* | ||
| .Spotlight-V100 | ||
| .Trashes | ||
| ehthumbs.db | ||
| Thumbs.db | ||
|
|
||
| # Logs | ||
| *.log | ||
| logs/ | ||
| log/ | ||
|
|
||
| # Docker | ||
| .dockerignore | ||
|
|
||
| # Temporary files | ||
| *.tmp | ||
| *.temp | ||
| .cache/ | ||
| .tmp/ | ||
|
|
||
| # FastAPI/Uvicorn specific | ||
| *.pid | ||
|
|
||
| # Redis dump | ||
| dump.rdb | ||
|
|
||
| # Application specific | ||
| uploads/ | ||
| downloads/ | ||
| data/ | ||
| storage/ | ||
| frigate-logs | ||
|
|
||
| # Secrets and certificates | ||
| *.pem | ||
| *.key | ||
| *.crt | ||
| *.p12 | ||
| secrets/ | ||
| certificates/ | ||
|
|
||
| # Frigate config (keep base templates) | ||
| config/frigate-config/* | ||
| !config/frigate-config/config-default.yml | ||
| !config/frigate-config/config-scenescape.yml | ||
| !config/frigate-config/config.yml |
28 changes: 28 additions & 0 deletions
28
metro-ai-suite/live-video-analysis/live-video-search/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # Live Video Search | ||
|
|
||
| Live Video Search is a Metro AI Suite sample that **bridges Smart NVR ingestion with VSS Search**. It captures live events from cameras, writes clips to a shared dump directory, and makes them searchable via natural‑language queries and time‑range filters. | ||
|
|
||
| ## Documentation | ||
|
|
||
| - **Overview** | ||
| - [Overview](docs/user-guide/index.md): High‑level introduction and navigation. | ||
| - [Architecture](docs/user-guide/overview-architecture-live-video-search.md): End‑to‑end architecture. | ||
|
|
||
| - **Getting Started** | ||
| - [Get Started](docs/user-guide/get-started.md): Step‑by‑step setup. | ||
| - [System Requirements](docs/user-guide/system-requirements.md): Hardware and software requirements. | ||
| - [How to Use the Application](docs/user-guide/how-to-use-application.md): Search workflow and tips. | ||
|
|
||
| - **Deployment** | ||
| - [Build from Source](docs/user-guide/how-to-build-from-source.md): Build images for the stack. | ||
|
|
||
| - **API Reference** | ||
| - [API Reference](docs/user-guide/api-reference.md): Key endpoints and references. | ||
|
|
||
| - **Release Notes** | ||
| - [Release Notes](docs/user-guide/release-notes.md): Updates and fixes. | ||
|
|
||
| ## Notes | ||
|
|
||
| - Telemetry is **enabled** for this app and shown in the VSS UI when connected. | ||
| - Smart NVR writes clips to a shared dump directory used by the VSS watcher. |
151 changes: 151 additions & 0 deletions
151
...o-ai-suite/live-video-analysis/live-video-search/config/frigate-config/config-default.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,151 @@ | ||
| mqtt: | ||
| enabled: true | ||
| host: mqtt-broker | ||
| port: 1883 | ||
| topic_prefix: frigate | ||
| client_id: frigate | ||
| user: '{FRIGATE_MQTT_USER}' | ||
| password: '{FRIGATE_MQTT_PASSWORD}' | ||
|
|
||
| genai: | ||
| enabled: false | ||
| provider: openai | ||
| model: Qwen/Qwen2.5-VL-3B-Instruct | ||
|
|
||
| logger: | ||
| default: info | ||
|
|
||
|
|
||
| semantic_search: | ||
bhardwaj-nakul marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| enabled: true | ||
| reindex: false | ||
|
|
||
| record: | ||
| enabled: true | ||
| retain: | ||
| days: 7 | ||
yogeshmpandey marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| mode: all | ||
|
|
||
| cameras: | ||
bharagha marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| backyard: | ||
| ffmpeg: | ||
| inputs: | ||
| - path: /videos/backyard.mp4 | ||
| input_args: -re -stream_loop -1 -fflags +genpts | ||
| roles: | ||
| - detect | ||
| - record | ||
| detect: | ||
| enabled: true | ||
| max_disappeared: 30 | ||
| objects: | ||
| track: [bicycle, car, motorcycle, person, vehicle] | ||
bhardwaj-nakul marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| filters: | ||
| person: | ||
| min_score: 0.6 | ||
| threshold: 0.80 | ||
| record: | ||
| enabled: true | ||
| retain: | ||
| days: 1 | ||
| snapshots: | ||
| enabled: true | ||
| retain: | ||
| default: 1 | ||
| genai: | ||
| enabled: false | ||
| use_snapshot: true | ||
| objects: | ||
| - person | ||
| - car | ||
|
|
||
| livingroom: | ||
| ffmpeg: | ||
| inputs: | ||
| - path: /videos/livingroom.mp4 | ||
| input_args: -re -stream_loop -1 -fflags +genpts | ||
| roles: | ||
| - detect | ||
| - record | ||
| detect: | ||
| enabled: true | ||
| max_disappeared: 30 | ||
| record: | ||
| enabled: true | ||
| retain: | ||
| days: 1 | ||
| objects: | ||
| track: [person, vehicle] | ||
| filters: | ||
| person: | ||
| min_score: 0.6 | ||
| threshold: 0.80 | ||
| snapshots: | ||
| enabled: true | ||
| retain: | ||
| default: 1 | ||
| genai: | ||
| enabled: false | ||
| use_snapshot: true | ||
| objects: | ||
| - person | ||
| - vehicle | ||
|
|
||
| # office: | ||
| # ffmpeg: | ||
| # inputs: | ||
| # - path: /videos/office.mp4 | ||
| # input_args: -re -stream_loop -1 -fflags +genpts | ||
| # roles: | ||
| # - detect | ||
| # record: | ||
| # enabled: true | ||
| # retain: | ||
| # days: 1 | ||
| # objects: | ||
| # filters: | ||
| # person: | ||
| # min_score: 0.6 | ||
| # threshold: 0.80 | ||
| # snapshots: | ||
| # enabled: true | ||
| # retain: | ||
yogeshmpandey marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # default: 1 | ||
| # genai: | ||
| # enabled: True | ||
| # use_snapshot: True | ||
| # objects: | ||
| # - person | ||
|
|
||
| garage: | ||
| ffmpeg: | ||
| inputs: | ||
| - path: /videos/garage.mp4 | ||
| input_args: -re -stream_loop -1 -fflags +genpts | ||
| roles: | ||
| - detect | ||
| - record | ||
| detect: | ||
| enabled: true | ||
| max_disappeared: 30 | ||
| record: | ||
| enabled: true | ||
| retain: | ||
| days: 1 | ||
| objects: | ||
| track: [person, vehicle] | ||
| filters: | ||
| person: | ||
| min_score: 0.6 | ||
| threshold: 0.80 | ||
| snapshots: | ||
| enabled: true | ||
| retain: | ||
| default: 1 | ||
| genai: | ||
| enabled: false | ||
| use_snapshot: true | ||
| objects: | ||
| - person | ||
| - vehicle | ||
| version: 0.15-1 | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.