Skip to content

Commit da2fa00

Browse files
committed
Fix video examples variables
1 parent 9448320 commit da2fa00

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

src/arduino/app_bricks/video_imageclassification/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_CLASSIFICATION_MODEL:-/models/ootb/ei/mobilenet-v2-224px.eim}", "--dont-print-predictions", "--mode", "streaming", "--preview-original-resolution", "--camera", "${VIDEO_DEVICE:-/dev/video1}"]
14+
command: ["--model-file", "${EI_V_CLASSIFICATION_MODEL:-/models/ootb/ei/mobilenet-v2-224px.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-classification-runner:4912 || exit 1" ]
1717
interval: 2s

src/arduino/app_bricks/video_imageclassification/brick_config.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ required_devices:
1313
- camera
1414
model: mobilenet-image-classification
1515
model_configuration_variables:
16-
- EI_CLASSIFICATION_MODEL
16+
- EI_V_CLASSIFICATION_MODEL
1717
variables:
1818
- name: EI_V_CLASSIFICATION_MODEL
1919
description: Path to the model file
@@ -23,4 +23,7 @@ variables:
2323
hidden: true
2424
- name: BIND_ADDRESS
2525
description: Bind address
26-
hidden: true
26+
hidden: true
27+
- name: VIDEO_DEVICE
28+
description: Video device path
29+
hidden: true

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_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_V_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: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ required_devices:
1212
- camera
1313
model: yolox-object-detection
1414
model_configuration_variables:
15-
- EI_OBJ_DETECTION_MODEL
15+
- EI_V_OBJ_DETECTION_MODEL
1616
variables:
1717
- name: EI_V_OBJ_DETECTION_MODEL
1818
description: Path to the model file
@@ -22,4 +22,7 @@ variables:
2222
hidden: true
2323
- name: BIND_ADDRESS
2424
description: Bind address
25-
hidden: true
25+
hidden: true
26+
- name: VIDEO_DEVICE
27+
description: Video device path
28+
hidden: true

0 commit comments

Comments
 (0)