Swift cam scene change demo - #1175
Merged
Merged
Conversation
tomskikh
force-pushed
the
1125-scene-change-demo
branch
2 times, most recently
from
July 16, 2026 07:37
396ee89 to
014c6d1
Compare
tomskikh
force-pushed
the
1125-scene-change-demo
branch
from
July 16, 2026 07:41
014c6d1 to
763b7a3
Compare
tomskikh
marked this pull request as ready for review
July 16, 2026 07:41
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new samples/scene_change demo module that detects camera/scene changes by comparing ReID embeddings of a configurable ROI against a delayed reference, with Docker Compose bundles to run it on x86/Jetson and a helper script for live ROI updates via Etcd.
Changes:
- Introduces ROI injection (Etcd-driven) + scene-change detection pyfuncs and an overlay drawfunc for visualization.
- Adds a runnable module configuration (
module.yml) and Docker Compose bundles for x86 and Jetson (L4T). - Adds documentation and a helper script to update/reset per-source ROI in Etcd.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| samples/scene_change/set-roi.sh | Helper script to set/reset per-source ROI in Etcd. |
| samples/scene_change/scene_change.py | Scene change detector comparing delayed vs current ROI embeddings. |
| samples/scene_change/roi_injector.py | Injects a ROI object per frame with bbox read from Etcd. |
| samples/scene_change/README.md | Usage docs for running the demo and changing ROI. |
| samples/scene_change/overlay.py | Draws ROI bbox and scene-change status/distance on frames. |
| samples/scene_change/module.yml | Pipeline definition wiring ROI injector, ReID attribute model, detector, and overlay. |
| samples/scene_change/docker-compose.x86.yml | x86 compose bundle for the demo. |
| samples/scene_change/docker-compose.l4t.yml | Jetson/L4T compose bundle for the demo (includes Etcd). |
bwsw
approved these changes
Jul 24, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.