Skip to content

Smartstack Scaffolding#445

Open
timbeccue wants to merge 8 commits intomainfrom
feature/smartstack-scaffold
Open

Smartstack Scaffolding#445
timbeccue wants to merge 8 commits intomainfrom
feature/smartstack-scaffold

Conversation

@timbeccue
Copy link
Copy Markdown
Contributor

@timbeccue timbeccue commented Mar 20, 2026

Add the infrastructure for smartstack observations. This includes the stacking core/data model and the
pipeline integration to receive and process subframes.

  • Add StackFrame DB model and helper functions to track frames during smartstack observations
  • Add stacking worker (Redis-based per-camera notifications, stack completion check, timeout detection)
  • Add stacking supervisor (runs a separate stack worker per camera)
  • Add SubframeListener (similar to banzai-listener)
  • Add process_subframe worker (similar to banzai-worker, but also sends reduced subframes to the stack worker)
  • Add banzai_subframe_worker entry point
  • Modify run_pipeline_stages to return the reduced image filepath, for passing to the stack DB/worker
  • Unit tests and e2e tests

These changes add everything needed for smartstacking except the stacking algorithm itself.

Note: stage_utils.py:run_pipeline_stages previously had no return value and now returns the processed
images. This shouldn't affect existing callers but is worth flagging since it modifies a core banzai
function.

@timbeccue timbeccue force-pushed the feature/smartstack-scaffold branch 2 times, most recently from ba59ec7 to e5350bd Compare March 27, 2026 05:19
@timbeccue timbeccue requested a review from cmccully March 27, 2026 14:54
@timbeccue timbeccue force-pushed the feature/smartstack-scaffold branch from e5350bd to 3bc4bc5 Compare April 6, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant