Browse Source

Create dataflow.yml

pull/965/head
Nagesh Mandal 1 year ago
parent
commit
bed5676f31
1 changed files with 26 additions and 0 deletions
  1. +26
    -0
      examples/rerun-py/dataflow.yml

+ 26
- 0
examples/rerun-py/dataflow.yml View File

@@ -0,0 +1,26 @@
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: object-detection
build: pip install dora-yolo
path: dora-yolo
inputs:
image: camera/image
outputs:
- bbox

- id: plot
path: ./node-hub/dora-rerun-py/dora_rerun_py/main.py
inputs:
image: camera/image
boxes2d: object-detection/bbox

Loading…
Cancel
Save