From 65c1d7c3de340c7e7566d24db486fbd1022b1193 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 26 Sep 2024 18:22:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=8C=E6=9D=A0=E8=87=82=E5=B1=88=E4=BC=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Exercise3/pull_up_1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Exercise3/pull_up_1.py b/Exercise3/pull_up_1.py index ebf58f0..fe29475 100644 --- a/Exercise3/pull_up_1.py +++ b/Exercise3/pull_up_1.py @@ -81,7 +81,7 @@ class PullUp_1(BaseExercise): def display(self, img): cv2.rectangle(img, (self.corner[2], self.corner[0]), (self.corner[3], self.corner[1]), (0, 255, 0), 2) - cv2.rectangle(img, (self.corner[2], 170), (self.corner[3], 470), (0, 255, 0), 2) + cv2.rectangle(img, (self.corner[2], 165), (self.corner[3], 470), (0, 255, 0), 2) # 绘制状态条 cv2.rectangle(img, (650 - 100, 60), (650 - 80, 282), (255, 255, 255), 2) self.detector.drawPoint_more(img, [9, 11, 13, 19, 25], bias_x=self.corner[2], bias_y=self.corner[0])