Skip to content

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

Open
mattdawkins wants to merge 1 commit into
mainfrom
feat/multicam-filter-pipelines
Open

Desktop: support multicam filter pipelines (filter_*_2-cam / 3-cam)#1786
mattdawkins wants to merge 1 commit 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>
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