From ef769a7707226fb2b5d21c6ec9e762392a8950bb Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Mon, 19 Sep 2022 14:52:05 +0200 Subject: [PATCH] :sparkles: --- find_aruco.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/find_aruco.py b/find_aruco.py index 8b40091..cb7cdb1 100644 --- a/find_aruco.py +++ b/find_aruco.py @@ -16,17 +16,17 @@ def find_aruco(arlo): bounding_box = [(int(x), int(y)) for x, y in bounding.reshape((4,2))] print(bounding_box) - cv2.line(image, bounding_box[0], bounding_box[1], (0,255,0), 3) - cv2.line(image, bounding_box[1], bounding_box[2], (0,255,0), 3) - cv2.line(image, bounding_box[2], bounding_box[3], (0,255,0), 3) - cv2.line(image, bounding_box[3], bounding_box[0], (0,255,0), 3) + cv2.line(image, bounding_box[0], bounding_box[1], (0,255,0), 2) + cv2.line(image, bounding_box[1], bounding_box[2], (0,255,0), 2) + cv2.line(image, bounding_box[2], bounding_box[3], (0,255,0), 2) + cv2.line(image, bounding_box[3], bounding_box[0], (0,255,0), 2) cv2.putText( image, str(n[0]), (bounding_box[0][0], bounding_box[0][1] - 15), cv2.FONT_HERSHEY_COMPLEX, - 0.5, + 0.8, (0,255,0), 2 )