camera_previewΒΆ

Preview local cameras with the shared synchronized capture helper.

s6 camera_preview

By default the command opens device indices 1 and 3, fetches synchronized frame bundles, overlays per-camera FPS on each frame, and shows the result in a single OpenCV window named cam. The loop exits when you press q.

Use --device to override the list:

s6 camera_preview --device 1 3

The current defaults are:

  • --device 1 3

  • --width 1280

  • --height 960

  • --fps 50

  • --max-seq-skew 0

Use --flip-stage to apply one or more videoflip stages to every preview camera. Repeat the flag to chain multiple flip stages.

Example:

s6 camera_preview --device 0 2 --flip-stage horizontal-flip