# The repository's own example, and its end-to-end test: a synthetic source # feeding the viewer. Everything it needs is in this checkout -- no camera, no # detector, no network -- so it is also what CI runs. # # Both nodes are built from the checkout with `path:` + `build:`, which is what # lets `dora validate` pick up the typed contract in dora-node.yml. A consumer # wires the viewer from a tag instead -- see README.md. # # Run it with `--uv` so every node gets its own managed environment. strict_types: true nodes: - id: source path: examples/source.py # The source needs dora-rs, numpy and pyarrow; installing the project gives # it exactly the versions pinned in uv.lock. build: pip install . inputs: tick: dora/timer/millis/33 outputs: - image - depth - camera_info - bbox - text - id: view path: dora-image-view build: pip install . inputs: image: source/image depth: source/depth camera_info: source/camera_info bbox: source/bbox text: source/text