Просмотр исходного кода

fix(GameUi): Update mall page detection image

blylana 6 дней назад
Родитель
Сommit
f1ba2a5c50

+ 1 - 1
tasks/GameUi/assets.py

@@ -144,7 +144,7 @@ class GameUiAssets:
 	# 花合战页面标志 
 	I_CHECK_DAILY = RuleImage(roi_front=(28,515,58,62), roi_back=(1,487,154,145), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_daily.png")
 	# 商店页面标志 
-	I_CHECK_MALL = RuleImage(roi_front=(1087,413,47,114), roi_back=(1043,397,116,155), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_mall.png")
+	I_CHECK_MALL = RuleImage(roi_front=(1087,413,47,114), roi_back=(1043,397,116,155), threshold=0.6, method="Template matching", file="./tasks/GameUi/page/page_check_mall.png")
 	# 商店页面标志(紫色招牌) 
 	I_CHECK_MALL_PURPLE = RuleImage(roi_front=(231,455,131,78), roi_back=(201,432,185,121), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_mall_purple.png")
 	# 商店推荐页面标志 

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

@@ -167,7 +167,7 @@
     "roiFront": "1087,413,47,114",
     "roiBack": "1043,397,116,155",
     "method": "Template matching",
-    "threshold": 0.8,
+    "threshold": 0.6,
     "description": "商店页面标志"
   },
   {

BIN
tasks/GameUi/page/page_check_mall.png