# The camera alone, and the CI gate: with CI=true a failed read publishes a # placeholder frame rather than raising, so this runs on a machine with no # camera. strict_types: true nodes: - id: camera path: dora-webcam build: uv pip install . # Settings belong here rather than in the environment of whatever starts the # dataflow. Deliberately empty: a node's `env:` wins over the shell, and CI # passes CAPTURE_FRAMES in through the shell, so pinning one here would # silently override it. See the README for a populated example. # # env: # CAMERA_ID: usb-Acme_Webcam # IMAGE_WIDTH: 1280 # IMAGE_HEIGHT: 720 # ENCODING: jpeg inputs: tick: dora/timer/millis/33 outputs: - image # Nothing consumes the frames: the point is that the node opens, encodes and # publishes. Set PREVIEW=true to watch them in a local window instead of # wiring a viewer node.