From 39dbad6e1faf1b09457a605209cbdd2a7404b635 Mon Sep 17 00:00:00 2001
From: Zhiying Li <zhiyingli@g.ucla.edu>
Date: Wed, 10 Nov 2021 19:05:26 -0800
Subject: [PATCH] resize the AT window to show more at the same time

---
 Code/Control/Laptop_Code/ESP32_AT/imageTread_AT.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Code/Control/Laptop_Code/ESP32_AT/imageTread_AT.py b/Code/Control/Laptop_Code/ESP32_AT/imageTread_AT.py
index f17cf50..eed809a 100644
--- a/Code/Control/Laptop_Code/ESP32_AT/imageTread_AT.py
+++ b/Code/Control/Laptop_Code/ESP32_AT/imageTread_AT.py
@@ -78,7 +78,8 @@ def get_AT_6DOF_info(url):
             print("[INFO] tag id: {}".format(tid))
 
     # show the output image after AprilTag detection
-    cv2.imshow("Image", frame)
+    resized_frame = cv2.resize(frame,(400,300))
+    cv2.imshow("Image", resized_frame)
 
     return tid,tx,ty,tz,rx,ry,rz
 
-- 
GitLab