The repository is dora-plot, but the package, the entrypoint, the manifest name and the window title were all opencv-plot. Consumers wire the node by `path:`, so the split name was visible in every dataflow. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WLVZCFFcCH1EpTXGfS9aD
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
# The repository's own example: a webcam and a fixed caption feeding the viewer.
|
|
# The plot node is built from this checkout with `path:` + `build:`, so
|
|
# `dora validate` picks up the typed contract in dora-node.yml next to it.
|
|
#
|
|
# Run it with `--uv` so every Python node gets its own managed environment.
|
|
# A consumer wires the node from a tag instead — see README.md.
|
|
#
|
|
# `bbox` is left unwired: every bbox source is a detector, and pulling one in
|
|
# would put a model download in the way of a webcam preview. README.md shows
|
|
# the wiring.
|
|
strict_types: true
|
|
|
|
nodes:
|
|
- id: camera
|
|
git: https://github.com/dora-rs/dora-hub.git
|
|
build: pip install ./node-hub/opencv-video-capture
|
|
path: opencv-video-capture
|
|
inputs:
|
|
tick: dora/timer/millis/100
|
|
outputs:
|
|
- image
|
|
output_types:
|
|
image: std/core/v1/UInt8
|
|
|
|
- id: caption
|
|
git: https://github.com/dora-rs/dora-hub.git
|
|
build: pip install ./node-hub/pyarrow-sender
|
|
path: pyarrow-sender
|
|
env:
|
|
DATA: "'dora-plot'"
|
|
outputs:
|
|
- data
|
|
output_types:
|
|
data: std/core/v1/String
|
|
|
|
- id: plot
|
|
path: dora-plot
|
|
build: pip install .
|
|
inputs:
|
|
image: camera/image
|
|
text: caption/data
|