Explorar o código

AI置信度参数值改为80

zhangdongming %!s(int64=2) %!d(string=hai) anos
pai
achega
0eaba85b5a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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(