Przeglądaj źródła

fix(GameUi): Lower I_CHECK_TEAM matching threshold from 0.8 to 0.63 #1604

Neptine 5 miesięcy temu
rodzic
commit
9c5c16ad68
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      tasks/GameUi/assets.py
  2. 1 1
      tasks/GameUi/page/page_img_3.json

+ 1 - 1
tasks/GameUi/assets.py

@@ -175,7 +175,7 @@ class GameUiAssets:
 	# description 
 	I_CHECK_GUILD = RuleImage(roi_front=(1072,630,49,46), roi_back=(1072,630,49,46), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_guild.png")
 	# description 
-	I_CHECK_TEAM = RuleImage(roi_front=(32,585,82,90), roi_back=(32,585,82,90), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_team.png")
+	I_CHECK_TEAM = RuleImage(roi_front=(32,585,82,90), roi_back=(32,585,82,90), threshold=0.63, method="Template matching", file="./tasks/GameUi/page/page_check_team.png")
 	# description 
 	I_CHECK_COLLECTION = RuleImage(roi_front=(579,639,63,65), roi_back=(118,626,1162,94), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_collection.png")
 	# description 

+ 1 - 1
tasks/GameUi/page/page_img_3.json

@@ -131,7 +131,7 @@
     "roiFront": "32,585,82,90",
     "roiBack": "32,585,82,90",
     "method": "Template matching",
-    "threshold": 0.8,
+    "threshold": 0.63,
     "description": "description"
   },
   {