Skip to content

Desktop: support multicam filter pipelines (filter_*_2-cam / 3-cam)#1786

Merged
BryonLewis merged 2 commits into
mainfrom
feat/multicam-filter-pipelines
Jul 23, 2026
Merged

Desktop: support multicam filter pipelines (filter_*_2-cam / 3-cam)#1786
BryonLewis merged 2 commits into
mainfrom
feat/multicam-filter-pipelines

Conversation

@mattdawkins

Copy link
Copy Markdown
Member

Problem

Pipeline categories come from the pipe filename, and a 2-cam/3-cam suffix overrides the prefix — so a multicam filter pipeline (e.g. VIAME's new filter_register_frames_2-cam.pipe and filter_compute_tile_mosaics_2-cam.pipe, which write registered/blacked-out images and per-timestep tile mosaics) is typed 2-cam, never matches the type === 'filter' checks, and consequently: its image writers get no output-directory prefix, its (nonexistent) CSVs are ingested, and no new dataset is created from the output images.

Fix

Desktop runPipeline now recognizes filter/transcode output handling from the pipe filename prefix as well as the resolved type:

  • createsNewDataset / isFilterPipe are true for filter_*.pipe regardless of the -cam category, enabling output-dir creation, CSV-ingest skip, image-writer prefixing, frame renumbering, and new-dataset import.
  • The output prefix is additionally passed to image_writer2 / image_writer3, the per-camera writers multicam filter pipes use (extra -s keys for absent processes are ignored by the kwiver runner).

Web/girder pipeline running is untouched.

🤖 Generated with Claude Code

Pipes with a camera suffix are categorized under '2-cam'/'3-cam', so a
multicam filter pipe like filter_register_frames_2-cam.pipe never
matched the type === 'filter' checks: its image writers got no output
prefix and no new dataset was created from the results.

Filter output handling is now recognized from the pipe filename as well
as the type, and the output prefix is passed to the per-camera writers
(image_writer, image_writer2, image_writer3) that multicam filter pipes
use; extra -s keys for absent processes are ignored by the runner.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mattdawkins
mattdawkins requested a review from BryonLewis July 23, 2026 13:02

@BryonLewis BryonLewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basic running can be tested (with a failing job because of lack of official build).

I've added to the PR the ability for the interface to provide a new Dataset name when running these multicam filter pipelines.

@BryonLewis
BryonLewis merged commit 0bacb47 into main Jul 23, 2026
3 checks passed
@BryonLewis
BryonLewis deleted the feat/multicam-filter-pipelines branch July 23, 2026 19:36
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.

2 participants