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

fix(TrueOrochi): 更新st_find_ts模板图片及检测区域坐标

调整roiFront和roiBack的检测范围参数,同步更新模板匹配图片
yuyuyuyuyu 6 месяцев назад
Родитель
Сommit
4e5d9d4ee4

+ 1 - 1
tasks/TrueOrochi/assets.py

@@ -31,7 +31,7 @@ class TrueOrochiAssets:
 
 	# Image Rule Assets
 	# 出现真蛇 
-	I_FIND_TS = RuleImage(roi_front=(1,613,100,93), roi_back=(1,613,100,93), threshold=0.8, method="Template matching", file="./tasks/TrueOrochi/st/st_find_ts.png")
+	I_FIND_TS = RuleImage(roi_front=(259,635,96,79), roi_back=(183,585,331,135), threshold=0.8, method="Template matching", file="./tasks/TrueOrochi/st/st_find_ts.png")
 	# 点击挑战60体力 
 	I_ST_FIRE = RuleImage(roi_front=(960,485,100,100), roi_back=(960,485,100,100), threshold=0.8, method="Template matching", file="./tasks/TrueOrochi/st/st_st_fire.png")
 	# 确认挑战 

+ 2 - 2
tasks/TrueOrochi/st/image.json

@@ -2,8 +2,8 @@
   {
     "itemName": "find_ts",
     "imageName": "st_find_ts.png",
-    "roiFront": "1,613,100,93",
-    "roiBack": "1,613,100,93",
+    "roiFront": "259,635,96,79",
+    "roiBack": "183,585,331,135",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "出现真蛇"

BIN
tasks/TrueOrochi/st/st_find_ts.png