Explorar el Código

fix(task): update activity

runhey hace 3 años
padre
commit
c29d3ada78
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 1 1
      tasks/GlobalGame/assets.py
  2. 2 2
      tasks/GlobalGame/ui/image.json

+ 1 - 1
tasks/GlobalGame/assets.py

@@ -36,7 +36,7 @@ class GlobalGameAssets:
 	# 长一点的取消 
 	I_UI_CANCEL = RuleImage(roi_front=(432,403,177,62), roi_back=(432,403,177,62), threshold=0.8, method="Template matching", file="./tasks/GlobalGame/ui/ui_ui_cancel.png")
 	# '获得奖励' 四个大字 
-	I_UI_REWARD = RuleImage(roi_front=(481,185,317,42), roi_back=(464,142,350,129), threshold=0.8, method="Template matching", file="./tasks/GlobalGame/ui/ui_ui_reward.png")
+	I_UI_REWARD = RuleImage(roi_front=(481,185,317,42), roi_back=(464,142,350,145), threshold=0.73, method="Template matching", file="./tasks/GlobalGame/ui/ui_ui_reward.png")
 	# description 
 	I_UI_BACK_RED = RuleImage(roi_front=(1041,111,34,38), roi_back=(834,15,427,200), threshold=0.8, method="Template matching", file="./tasks/GlobalGame/ui/ui_ui_back_red.png")
 	# description 

+ 2 - 2
tasks/GlobalGame/ui/image.json

@@ -21,9 +21,9 @@
     "itemName": "ui_reward",
     "imageName": "ui_ui_reward.png",
     "roiFront": "481,185,317,42",
-    "roiBack": "464,142,350,129",
+    "roiBack": "464,142,350,145",
     "method": "Template matching",
-    "threshold": 0.8,
+    "threshold": 0.73,
     "description": "'获得奖励' 四个大字"
   },
   {