File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
examples/object-detection Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ Here is a brief explanation of the application script (main.py):
7474from arduino.app_utils import *
7575from arduino.app_bricks.web_ui import WebUI
7676from arduino.app_bricks.objectdetection import ObjectDetection
77- from arduino.app_utils import draw_bounding_boxes
7877from PIL import Image
7978import io
8079import base64
Original file line number Diff line number Diff line change 55from arduino .app_utils import *
66from arduino .app_bricks .web_ui import WebUI
77from arduino .app_bricks .object_detection import ObjectDetection
8- from arduino .app_utils import draw_bounding_boxes
98from PIL import Image
109import io
1110import base64
@@ -33,7 +32,7 @@ def on_detect_objects(client_id, data):
3332 ui .send_message ('detection_error' , {'error' : 'No results returned' })
3433 return
3534
36- img_with_boxes = draw_bounding_boxes (pil_image , results )
35+ img_with_boxes = object_detection . draw_bounding_boxes (pil_image , results )
3736
3837 if img_with_boxes is not None :
3938 img_buffer = io .BytesIO ()
You can’t perform that action at this time.
0 commit comments