Skip to content

Commit 98a2035

Browse files
committed
fix variable
1 parent 6a8087b commit 98a2035

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/arduino/app_bricks/video_objectdetection/brick_compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
volumes:
1212
- "${CUSTOM_MODEL_PATH:-/home/arduino/.arduino-bricks/ei-models/}:${CUSTOM_MODEL_PATH:-/home/arduino/.arduino-bricks/ei-models/}"
1313
- "/run/udev:/run/udev"
14-
command: ["--model-file", "${EI_V_OBJ_DETECTION_MODEL:-/models/ootb/ei/yolo-x-nano.eim}", "--dont-print-predictions", "--mode", "streaming", "--preview-original-resolution", "--camera", "${VIDEO_DEVICE:-/dev/video1}"]
14+
command: ["--model-file", "${EI_OBJ_DETECTION_MODEL:-/models/ootb/ei/yolo-x-nano.eim}", "--dont-print-predictions", "--mode", "streaming", "--preview-original-resolution", "--camera", "${VIDEO_DEVICE:-/dev/video1}"]
1515
healthcheck:
1616
test: [ "CMD-SHELL", "wget -q --spider http://ei-video-obj-detection-runner:4912 || exit 1" ]
1717
interval: 2s

src/arduino/app_bricks/video_objectdetection/brick_config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ required_devices:
1212
- camera
1313
model: yolox-object-detection
1414
model_configuration_variables:
15-
- EI_V_OBJ_DETECTION_MODEL
15+
- EI_OBJ_DETECTION_MODEL
1616
variables:
17-
- name: EI_V_OBJ_DETECTION_MODEL
17+
- name: EI_OBJ_DETECTION_MODEL
1818
description: Path to the model file
1919
hidden: true
2020
default_value: /models/ootb/ei/yolox-object-detection.eim

0 commit comments

Comments
 (0)