Browse Source

fix:修复检查商店页面无法识别曜之阁问题

wanniwa 1 year ago
parent
commit
25a255b467

+ 1 - 1
tasks/GameUi/assets.py

@@ -153,7 +153,7 @@ class GameUiAssets:
 	# description 
 	I_CHECK_DAILY = RuleImage(roi_front=(27,515,69,62), roi_back=(1,489,155,127), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_daily.png")
 	# description 
-	I_CHECK_MALL = RuleImage(roi_front=(239,502,100,100), roi_back=(239,502,100,100), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_mall.png")
+	I_CHECK_MALL = RuleImage(roi_front=(11,493,93,93), roi_back=(11,493,93,93), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_mall.png")
 	# 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 

BIN
tasks/GameUi/page/page_check_mall.png


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

@@ -110,8 +110,8 @@
   {
     "itemName": "check_mall",
     "imageName": "page_check_mall.png",
-    "roiFront": "239,502,100,100",
-    "roiBack": "239,502,100,100",
+    "roiFront": "11,493,93,93",
+    "roiBack": "11,493,93,93",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "description"