rename node to dora-image-view
The repository, the Python package, the entrypoint and the manifest name all now agree. `plot` was carried over from the upstream opencv-plot node and no longer described anything here, so the module, the class and the environment variables follow the node: dora_plot/ -> dora_image_view/ dora_plot/plot.py -> dora_image_view/view.py Plot -> View PLOT_WIDTH/HEIGHT -> VIEW_WIDTH/HEIGHT --plot-width/-height -> --view-width/-height Breaking for anyone wiring `path: dora-plot` or setting PLOT_WIDTH; nothing is tagged yet.
This commit is contained in:
+8
-8
@@ -5,14 +5,14 @@
|
||||
# dataflow against it without running the node, so CI needs neither OpenCV nor
|
||||
# a display.
|
||||
apiVersion: 1
|
||||
name: dora-plot
|
||||
name: dora-image-view
|
||||
namespace: liria
|
||||
description: Overlays bounding boxes, labels, and text on an image input and displays it in an OpenCV window
|
||||
categories: [visualization, debug]
|
||||
keywords: [opencv, plot, bbox, bounding-box, image, visualization, object-detection]
|
||||
keywords: [opencv, view, bbox, bounding-box, image, visualization, object-detection]
|
||||
|
||||
runtime: python
|
||||
entrypoint: dora-plot
|
||||
entrypoint: dora-image-view
|
||||
# `dora build --uv` / `dora run --uv` rewrites this to `uv pip install .` and
|
||||
# gives the node its own managed venv under `.dora/python-envs/`, so the
|
||||
# dependencies it sees at runtime are the ones installed here.
|
||||
@@ -45,19 +45,19 @@ inputs:
|
||||
outputs: {}
|
||||
|
||||
env:
|
||||
PLOT_WIDTH:
|
||||
VIEW_WIDTH:
|
||||
type: int
|
||||
description: Resize the displayed frame to this width (pixels). Defaults to the image input width.
|
||||
PLOT_HEIGHT:
|
||||
VIEW_HEIGHT:
|
||||
type: int
|
||||
description: Resize the displayed frame to this height (pixels). Defaults to the image input height.
|
||||
|
||||
example: |
|
||||
- id: plot
|
||||
git: ssh://git@gitea.liria.cl:5001/liria/dora-plot.git
|
||||
- id: view
|
||||
git: ssh://git@gitea.liria.cl:5001/liria/dora-image-view.git
|
||||
tag: v0.1.0
|
||||
build: pip install .
|
||||
path: dora-plot
|
||||
path: dora-image-view
|
||||
inputs:
|
||||
image: camera/image
|
||||
bbox: detector/bbox
|
||||
|
||||
Reference in New Issue
Block a user