fix:20cm靶的兼容
This commit is contained in:
2
app.yaml
2
app.yaml
@@ -1,6 +1,6 @@
|
|||||||
id: t11
|
id: t11
|
||||||
name: t11
|
name: t11
|
||||||
version: 2.15.11
|
version: 2.15.13
|
||||||
author: t11
|
author: t11
|
||||||
icon: ''
|
icon: ''
|
||||||
desc: t11
|
desc: t11
|
||||||
|
|||||||
@@ -22,4 +22,5 @@
|
|||||||
# 2.15.9 20cm
|
# 2.15.9 20cm
|
||||||
# 2.15.10 不保存图片
|
# 2.15.10 不保存图片
|
||||||
# 2.15.11 优化内存
|
# 2.15.11 优化内存
|
||||||
# 2.15.12 优化算法
|
# 2.15.12 优化算法
|
||||||
|
# 2.15.13 优化算法
|
||||||
@@ -4,6 +4,6 @@
|
|||||||
应用版本号
|
应用版本号
|
||||||
每次 OTA 更新时,只需要更新这个文件中的版本号
|
每次 OTA 更新时,只需要更新这个文件中的版本号
|
||||||
"""
|
"""
|
||||||
VERSION = '2.15.12'
|
VERSION = '2.15.13'
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -646,7 +646,7 @@ def detect_circle_v3(frame, laser_point=None, img_cv=None):
|
|||||||
break
|
break
|
||||||
if not matched:
|
if not matched:
|
||||||
# 黄圈高置信度兜底:大且圆时跳过红圈验证
|
# 黄圈高置信度兜底:大且圆时跳过红圈验证
|
||||||
if area > 300 and circularity > 0.85:
|
if area > 30 and circularity > 0.85:
|
||||||
valid_targets.append({
|
valid_targets.append({
|
||||||
"center": yellow_center,
|
"center": yellow_center,
|
||||||
"radius": yellow_radius,
|
"radius": yellow_radius,
|
||||||
|
|||||||
Reference in New Issue
Block a user