Browse Source

降低庭院进入町中的识别阈值

yEs1do 1 year ago
parent
commit
5a602f1d21
2 changed files with 2 additions and 2 deletions
  1. 1 1
      tasks/GameUi/assets.py
  2. 1 1
      tasks/GameUi/page/page_img_2.json

+ 1 - 1
tasks/GameUi/assets.py

@@ -90,7 +90,7 @@ class GameUiAssets:
 
 
 	# Image Rule Assets
 	# Image Rule Assets
 	# description 
 	# description 
-	I_MAIN_GOTO_TOWN = RuleImage(roi_front=(706,249,61,57), roi_back=(200,120,951,298), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_main_goto_town.png")
+	I_MAIN_GOTO_TOWN = RuleImage(roi_front=(706,249,61,57), roi_back=(200,120,951,298), threshold=0.6, method="Template matching", file="./tasks/GameUi/page/page_main_goto_town.png")
 	# description 
 	# description 
 	I_CHECK_TOWN = RuleImage(roi_front=(1026,106,68,82), roi_back=(765,98,402,96), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_town.png")
 	I_CHECK_TOWN = RuleImage(roi_front=(1026,106,68,82), roi_back=(765,98,402,96), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_town.png")
 	# description 
 	# description 

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

@@ -5,7 +5,7 @@
     "roiFront": "706,249,61,57",
     "roiFront": "706,249,61,57",
     "roiBack": "200,120,951,298",
     "roiBack": "200,120,951,298",
     "method": "Template matching",
     "method": "Template matching",
-    "threshold": 0.8,
+    "threshold": 0.6,
     "description": "description"
     "description": "description"
   },
   },
   {
   {