nodes:
  - id: camera
    build: pip install ../../node-hub/opencv-video-capture
    path: opencv-video-capture
    inputs:
      tick: dora/timer/millis/20
    outputs:
      - image
    env:
      CAPTURE_PATH: 0
      IMAGE_WIDTH: 640
      IMAGE_HEIGHT: 480
      ENCODING: rgb8

  - id: rerun
    build: cargo build -p dora-rerun --release
    path: ../../target/release/dora-rerun
    inputs:
      image: camera/image
    env:
      RERUN_FLUSH_TICK_SECS: 0.001
      RERUN_MEMORY_LIMIT: 25%
