Skip to content

Instantly share code, notes, and snippets.

@haixuanTao
Created October 9, 2024 09:55
Show Gist options
  • Save haixuanTao/b0399d7b82273c4d2a32d4394bd80942 to your computer and use it in GitHub Desktop.
Save haixuanTao/b0399d7b82273c4d2a32d4394bd80942 to your computer and use it in GitHub Desktop.
nodes:
- id: camera
build: pip install 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
- id: plot
build: pip install opencv-plot
path: opencv-plot
inputs:
image:
source: camera/image
queue_size: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment