瀏覽代碼

fix(task): game update duo to picture position deviation

runhey 3 年之前
父節點
當前提交
b2eae0571f

+ 1 - 1
tasks/GameUi/assets.py

@@ -51,7 +51,7 @@ class GameUiAssets:
 	# description 
 	# description 
 	I_CHECK_SOUL_ZONES = RuleImage(roi_front=(49,105,298,405), roi_back=(49,105,298,405), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_soul_zones.png")
 	I_CHECK_SOUL_ZONES = RuleImage(roi_front=(49,105,298,405), roi_back=(49,105,298,405), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_soul_zones.png")
 	# description 
 	# description 
-	I_CHECK_REALM_RAID = RuleImage(roi_front=(123,632,57,55), roi_back=(123,632,57,55), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_realm_raid.png")
+	I_CHECK_REALM_RAID = RuleImage(roi_front=(507,72,261,46), roi_back=(507,72,261,46), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_realm_raid.png")
 	# description 
 	# description 
 	I_CHECK_GORYOU = RuleImage(roi_front=(881,17,30,39), roi_back=(881,17,30,39), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_goryou.png")
 	I_CHECK_GORYOU = RuleImage(roi_front=(881,17,30,39), roi_back=(881,17,30,39), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_goryou.png")
 	# description 
 	# description 

二進制
tasks/GameUi/page/page_check_realm_raid.png


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

@@ -146,8 +146,8 @@
   {
   {
     "itemName": "check_realm_raid",
     "itemName": "check_realm_raid",
     "imageName": "page_check_realm_raid.png",
     "imageName": "page_check_realm_raid.png",
-    "roiFront": "123,632,57,55",
-    "roiBack": "123,632,57,55",
+    "roiFront": "507,72,261,46",
+    "roiBack": "507,72,261,46",
     "method": "Template matching",
     "method": "Template matching",
     "threshold": 0.8,
     "threshold": 0.8,
     "description": "description"
     "description": "description"

+ 2 - 2
tasks/Orochi/assets.py

@@ -16,9 +16,9 @@ class OrochiAssets:
 	# 组队 
 	# 组队 
 	I_FORM_TEAM = RuleImage(roi_front=(937,591,100,100), roi_back=(937,591,100,100), threshold=0.8, method="Template matching", file="./tasks/Orochi/o/o_form_team.png")
 	I_FORM_TEAM = RuleImage(roi_front=(937,591,100,100), roi_back=(937,591,100,100), threshold=0.8, method="Template matching", file="./tasks/Orochi/o/o_form_team.png")
 	# description 
 	# description 
-	I_OROCHI_LOCK = RuleImage(roi_front=(558,562,31,33), roi_back=(558,562,31,33), threshold=0.8, method="Template matching", file="./tasks/Orochi/o/o_orochi_lock.png")
+	I_OROCHI_LOCK = RuleImage(roi_front=(573,559,31,32), roi_back=(548,554,65,54), threshold=0.8, method="Template matching", file="./tasks/Orochi/o/o_orochi_lock.png")
 	# description 
 	# description 
-	I_OROCHI_UNLOCK = RuleImage(roi_front=(560,564,26,29), roi_back=(560,564,26,29), threshold=0.8, method="Template matching", file="./tasks/Orochi/o/o_orochi_unlock.png")
+	I_OROCHI_UNLOCK = RuleImage(roi_front=(575,558,26,29), roi_back=(560,553,56,40), threshold=0.8, method="Template matching", file="./tasks/Orochi/o/o_orochi_unlock.png")
 	# 点击挑战 
 	# 点击挑战 
 	I_OROCHI_FIRE = RuleImage(roi_front=(1095,577,131,124), roi_back=(1095,577,131,124), threshold=0.6, method="Template matching", file="./tasks/Orochi/o/o_orochi_fire.png")
 	I_OROCHI_FIRE = RuleImage(roi_front=(1095,577,131,124), roi_back=(1095,577,131,124), threshold=0.6, method="Template matching", file="./tasks/Orochi/o/o_orochi_fire.png")
 	# 式神录 
 	# 式神录 

+ 4 - 4
tasks/Orochi/o/image.json

@@ -20,8 +20,8 @@
   {
   {
     "itemName": "orochi_lock",
     "itemName": "orochi_lock",
     "imageName": "o_orochi_lock.png",
     "imageName": "o_orochi_lock.png",
-    "roiFront": "558,562,31,33",
-    "roiBack": "558,562,31,33",
+    "roiFront": "573,559,31,32",
+    "roiBack": "548,554,65,54",
     "method": "Template matching",
     "method": "Template matching",
     "threshold": 0.8,
     "threshold": 0.8,
     "description": "description"
     "description": "description"
@@ -29,8 +29,8 @@
   {
   {
     "itemName": "orochi_unlock",
     "itemName": "orochi_unlock",
     "imageName": "o_orochi_unlock.png",
     "imageName": "o_orochi_unlock.png",
-    "roiFront": "560,564,26,29",
-    "roiBack": "560,564,26,29",
+    "roiFront": "575,558,26,29",
+    "roiBack": "560,553,56,40",
     "method": "Template matching",
     "method": "Template matching",
     "threshold": 0.8,
     "threshold": 0.8,
     "description": "description"
     "description": "description"

二進制
tasks/Orochi/o/o_orochi_lock.png


二進制
tasks/Orochi/o/o_orochi_unlock.png