From ea56ecb8b84ca055c7555a8011fb90908ec10558 Mon Sep 17 00:00:00 2001 From: rgontarek Date: Mon, 11 Oct 2021 08:43:30 -0500 Subject: [PATCH 1/2] Update coco_object_detection.py Adds missing traceback module. --- models/object_detection/code/coco_object_detection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models/object_detection/code/coco_object_detection.py b/models/object_detection/code/coco_object_detection.py index cf5830bd80..0d98885297 100644 --- a/models/object_detection/code/coco_object_detection.py +++ b/models/object_detection/code/coco_object_detection.py @@ -10,6 +10,8 @@ import cv2 from PIL import Image +import traceback + def main(): os.chdir('/home/pi/DeepPiCar/models/object_detection') From 9f14c40889bde040ac61e73666db49cfd090f8f6 Mon Sep 17 00:00:00 2001 From: rgontarek Date: Mon, 11 Oct 2021 08:44:01 -0500 Subject: [PATCH 2/2] Update object_detection_usb.py --- models/object_detection/code/object_detection_usb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models/object_detection/code/object_detection_usb.py b/models/object_detection/code/object_detection_usb.py index 477b5b772e..d54f55f6d8 100644 --- a/models/object_detection/code/object_detection_usb.py +++ b/models/object_detection/code/object_detection_usb.py @@ -10,6 +10,8 @@ import cv2 from PIL import Image +import traceback + def main(): os.chdir('/home/pi/DeepPiCar/models/object_detection')