From b94b0f2e5590da336e3bfa536bb3e8583a73e224 Mon Sep 17 00:00:00 2001 From: linyimin <18316471919@139.com> Date: Tue, 11 Aug 2026 14:15:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=9D=B6=E5=AD=90=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vision.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vision.py b/vision.py index fc10ba6..79bf995 100644 --- a/vision.py +++ b/vision.py @@ -631,7 +631,7 @@ def detect_circle_v3(frame, laser_point=None, img_cv=None): min_r = min(rc["radius"], yellow_radius) max_r = max(rc["radius"], yellow_radius) size_ratio = min_r / max_r if max_r > 0 else 0 - if dist_centers < max_dist and size_ratio > 0.5: + if dist_centers < max_dist and size_ratio > 0.3: if logger: logger.info(f"[target] -> 找到匹配的红圈: 黄心({yellow_center}), " f"红心({rc['center']}), 距离:{dist_centers:.1f}, "