瀏覽代碼

Merge pull request #328 from ljxun/Hunt

feat[hunt]:修复麒麟挑战点击
huangrunheng 2 年之前
父節點
當前提交
10f4839c34
共有 3 個文件被更改,包括 3 次插入 和 3 次删除
  1. 1 1
      tasks/Hunt/assets.py
  2. 2 2
      tasks/Hunt/hunt/click.json
  3. 二進制
      tasks/Hunt/kirin/kirin_kirin_challage.png

+ 1 - 1
tasks/Hunt/assets.py

@@ -24,7 +24,7 @@ class HuntAssets:
 
 	# Image Rule Assets
 	# 麒麟的挑战 
-	I_KIRIN_CHALLAGE = RuleImage(roi_front=(1064,559,117,108), roi_back=(1064,559,117,108), threshold=0.8, method="Template matching", file="./tasks/Hunt/kirin/kirin_kirin_challage.png")
+	I_KIRIN_CHALLAGE = RuleImage(roi_front=(1090,597,94,59), roi_back=(1090,597,94,59), threshold=0.8, method="Template matching", file="./tasks/Hunt/kirin/kirin_kirin_challage.png")
 	# 集合 
 	I_KIRIN_GATHER = RuleImage(roi_front=(28,480,75,64), roi_back=(28,480,75,64), threshold=0.8, method="Template matching", file="./tasks/Hunt/kirin/kirin_kirin_gather.png")
 	# 已结束 

+ 2 - 2
tasks/Hunt/hunt/click.json

@@ -1,8 +1,8 @@
 [
   {
     "itemName": "hunt_enter",
-    "roiFront": "1059,600,193,100",
-    "roiBack": "1059,600,193,100",
+    "roiFront": "1090,597,94,59",
+    "roiBack": "1090,597,94,59",
     "description": "description"
   }
 ]

二進制
tasks/Hunt/kirin/kirin_kirin_challage.png