Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion THIRD-PARTY-LICENSES.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{
"License": "BSD-3-Clause",
"Name": "click",
"Version": "8.3.0"
"Version": "8.3.1"
},
{
"License": "BSD-3-Clause",
Expand Down
1 change: 0 additions & 1 deletion examples/object-detection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions examples/object-detection/python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()
Expand Down