Преглед изворни кода

Merge pull request #832 from yEs1do/fix(main_go_town)

降低庭院进入町中的识别阈值
huangrunheng пре 1 година
родитељ
комит
557a5214b3
2 измењених фајлова са 2 додато и 2 уклоњено
  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
 	# 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 
 	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 

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

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