From 941e4c8923ec8cc06ed00f05af709faa3ba11f33 Mon Sep 17 00:00:00 2001 From: Stefano Torneo Date: Tue, 18 Nov 2025 12:56:52 +0100 Subject: [PATCH 1/2] use the draw_bounding_boxes method of the brick --- examples/object-detection/README.md | 1 - examples/object-detection/python/main.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/object-detection/README.md b/examples/object-detection/README.md index 32b8577..94eb974 100644 --- a/examples/object-detection/README.md +++ b/examples/object-detection/README.md @@ -74,7 +74,6 @@ Here is a brief explanation of the application script (main.py): from arduino.app_utils import * from arduino.app_bricks.web_ui import WebUI from arduino.app_bricks.objectdetection import ObjectDetection -from arduino.app_utils import draw_bounding_boxes from PIL import Image import io import base64 diff --git a/examples/object-detection/python/main.py b/examples/object-detection/python/main.py index 3e24773..7cf900b 100644 --- a/examples/object-detection/python/main.py +++ b/examples/object-detection/python/main.py @@ -5,7 +5,6 @@ from arduino.app_utils import * from arduino.app_bricks.web_ui import WebUI from arduino.app_bricks.object_detection import ObjectDetection -from arduino.app_utils import draw_bounding_boxes from PIL import Image import io import base64 @@ -33,7 +32,7 @@ def on_detect_objects(client_id, data): ui.send_message('detection_error', {'error': 'No results returned'}) return - img_with_boxes = draw_bounding_boxes(pil_image, results) + img_with_boxes = object_detection.draw_bounding_boxes(pil_image, results) if img_with_boxes is not None: img_buffer = io.BytesIO() From 42bda9f4d9418de5cfcfeefeda9d9b4481f0b8c4 Mon Sep 17 00:00:00 2001 From: Stefano Torneo Date: Tue, 18 Nov 2025 13:00:10 +0100 Subject: [PATCH 2/2] fix license --- THIRD-PARTY-LICENSES.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/THIRD-PARTY-LICENSES.json b/THIRD-PARTY-LICENSES.json index c0ece7a..83bce66 100644 --- a/THIRD-PARTY-LICENSES.json +++ b/THIRD-PARTY-LICENSES.json @@ -42,7 +42,7 @@ { "License": "BSD-3-Clause", "Name": "click", - "Version": "8.3.0" + "Version": "8.3.1" }, { "License": "BSD-3-Clause",