fix:20cm靶的兼容

This commit is contained in:
2026-06-09 18:31:01 +08:00
parent 82d0008257
commit 577ff02c04
4 changed files with 5 additions and 4 deletions

View File

@@ -646,7 +646,7 @@ def detect_circle_v3(frame, laser_point=None, img_cv=None):
break
if not matched:
# 黄圈高置信度兜底:大且圆时跳过红圈验证
if area > 300 and circularity > 0.85:
if area > 30 and circularity > 0.85:
valid_targets.append({
"center": yellow_center,
"radius": yellow_radius,