Преглед изворни кода

fix(Orochi): Update image roi #1299

huangrunheng пре 11 месеци
родитељ
комит
64104f457e
2 измењених фајлова са 4 додато и 4 уклоњено
  1. 2 2
      tasks/Orochi/assets.py
  2. 2 2
      tasks/Orochi/o/image.json

+ 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")
 	# description 
-	I_OROCHI_LOCK = RuleImage(roi_front=(575,561,22,26), roi_back=(548,546,109,62), threshold=0.8, method="Template matching", file="./tasks/Orochi/o/o_orochi_lock.png")
+	I_OROCHI_LOCK = RuleImage(roi_front=(575,561,22,26), roi_back=(466,546,191,62), threshold=0.8, method="Template matching", file="./tasks/Orochi/o/o_orochi_lock.png")
 	# description 
-	I_OROCHI_UNLOCK = RuleImage(roi_front=(575,561,21,21), roi_back=(550,544,121,60), threshold=0.8, method="Template matching", file="./tasks/Orochi/o/o_orochi_unlock.png")
+	I_OROCHI_UNLOCK = RuleImage(roi_front=(575,561,21,21), roi_back=(483,544,188,60), 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")
 	# 式神录 

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

@@ -21,7 +21,7 @@
     "itemName": "orochi_lock",
     "imageName": "o_orochi_lock.png",
     "roiFront": "575,561,22,26",
-    "roiBack": "548,546,109,62",
+    "roiBack": "466,546,191,62",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "description"
@@ -30,7 +30,7 @@
     "itemName": "orochi_unlock",
     "imageName": "o_orochi_unlock.png",
     "roiFront": "575,561,21,21",
-    "roiBack": "550,544,121,60",
+    "roiBack": "483,544,188,60",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "description"