From 92a7f2035e366e77e58480dc353653a97595ab0a Mon Sep 17 00:00:00 2001 From: Jordan-Fielding <107819004+Jordan-Fielding@users.noreply.github.com> Date: Mon, 4 Jul 2022 16:54:53 +1000 Subject: [PATCH] Update Test.py --- Test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Test.py b/Test.py index c91eac4..b6616b5 100644 --- a/Test.py +++ b/Test.py @@ -98,11 +98,11 @@ for frame in camera.capture_continuous(raw_capture, format="bgr", use_video_port else: # Find the largest moving object in the image - max_index = np.argmax(areas) + # max_index = np.argmax(areas) # Draw the bounding box # cnt = contours[max_index] - print(max_index) + print(areas) # x,y,w,h = cv2.boundingRect(cnt) # cv2.rectangle(image,(x,y),(x+w,y+h),(0,255,0),3) #