Browse Source

AI置信度参数值改为80

zhangdongming 2 years ago
parent
commit
0eaba85b5a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/AiController.py

+ 1 - 1
Controller/AiController.py

@@ -125,7 +125,7 @@ class AiView(View):
             # photo = open(r'E:\test---------------\test\snipaste20220121_215952.jpg', 'rb')
             # 识别合成图片
             maxLabels = 50  # 最大标签
-            minConfidence = 70  # 置信度
+            minConfidence = 80  # 置信度
 
             ai_start_time = int(time.time())
             client = boto3.client(