Răsfoiți Sursa

fix(Costume): 修正结缘神社庭院探索按钮模板与搜索区域

旧模板仅含'探索'文字残片,且 roiBack 高度 68px 小于图标高度,导致识别不到或识别到但点不到。替换为 49x76 完整模板,roiBack 扩大为 300,60,680,200,阈值 0.6 调整为 0.75,并同步 image.json 与 assets.py。
Moran-404 1 zi în urmă
părinte
comite
a4d194030f

+ 1 - 1
tasks/Component/Costume/assets.py

@@ -242,7 +242,7 @@ class CostumeAssets:
 	# description 
 	# description 
 	I_CHECK_MAIN_9 = RuleImage(roi_front=(764,117,134,42), roi_back=(149,109,1099,100), threshold=0.8, method="Template matching", file="./tasks/Component/Costume/main9/main9_check_main_9.png")
 	I_CHECK_MAIN_9 = RuleImage(roi_front=(764,117,134,42), roi_back=(149,109,1099,100), threshold=0.8, method="Template matching", file="./tasks/Component/Costume/main9/main9_check_main_9.png")
 	# description 
 	# description 
-	I_MAIN_GOTO_EXPLORATION_9 = RuleImage(roi_front=(553,107,31,30), roi_back=(234,98,904,68), threshold=0.3, method="Template matching", file="./tasks/Component/Costume/main9/main9_main_goto_exploration_9.png")
+	I_MAIN_GOTO_EXPLORATION_9 = RuleImage(roi_front=(537,113,49,76), roi_back=(300,60,680,200), threshold=0.75, method="Template matching", file="./tasks/Component/Costume/main9/main9_main_goto_exploration_9.png")
 	#  
 	#  
 	I_MAIN_GOTO_SUMMON_9 = RuleImage(roi_front=(970,210,35,29), roi_back=(609,194,623,68), threshold=0.25, method="Template matching", file="./tasks/Component/Costume/main9/main9_main_goto_summon_9.png")
 	I_MAIN_GOTO_SUMMON_9 = RuleImage(roi_front=(970,210,35,29), roi_back=(609,194,623,68), threshold=0.25, method="Template matching", file="./tasks/Component/Costume/main9/main9_main_goto_summon_9.png")
 	# description 
 	# description 

+ 3 - 3
tasks/Component/Costume/main9/image.json

@@ -11,10 +11,10 @@
   {
   {
     "itemName": "main_goto_exploration_9",
     "itemName": "main_goto_exploration_9",
     "imageName": "main9_main_goto_exploration_9.png",
     "imageName": "main9_main_goto_exploration_9.png",
-    "roiFront": "553,107,31,30",
-    "roiBack": "234,98,904,68",
+    "roiFront": "537,113,49,76",
+    "roiBack": "300,60,680,200",
     "method": "Template matching",
     "method": "Template matching",
-    "threshold": 0.3,
+    "threshold": 0.75,
     "description": "description"
     "description": "description"
   },
   },
   {
   {

BIN
tasks/Component/Costume/main9/main9_main_goto_exploration_9.png