优化按类别筛选

This commit is contained in:
th 2025-08-01 11:08:24 +08:00
parent 49f38b09ab
commit 796fb6bcad
1 changed files with 1 additions and 1 deletions

2
AI.py
View File

@ -68,7 +68,7 @@ def score_filter_byClass(pdetections,score_para_2nd):
elif str(int(cls)) in score_para_2nd.keys():
score_th = score_para_2nd[str(int(cls))]
else:
score_th = 0.7
score_th = 0.25
if score > score_th:
ret.append(det)
return ret