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", 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()