Explorar o código

feat(SoulsTidy): update ROIs and image names for st_detail and st_abandoned_not_selected

Migs hai 1 ano
pai
achega
8bcfebbf4d

+ 2 - 2
tasks/SoulsTidy/assets.py

@@ -12,7 +12,7 @@ class SoulsTidyAssets:
 
 	# Click Rule Assets
 	# 御魂详细 
-	C_ST_DETAIL = RuleClick(roi_front=(1162,230,87,74), roi_back=(1164,229,87,74), name="st_detail")
+	C_ST_DETAIL = RuleClick(roi_front=(1188.3333333333333,318.66666666666674,87,74), roi_back=(1190,317.00000000000006,87,74), name="st_detail")
 	# 出现神赐 
 	C_ST_GOD_PRSENT = RuleClick(roi_front=(717,165,100,48), roi_back=(926,165,100,54), name="st_god_prsent")
 
@@ -49,7 +49,7 @@ class SoulsTidyAssets:
 	# 御魂奉纳后获得的金币 
 	I_ST_GOLD = RuleImage(roi_front=(170,100,950,500), roi_back=(170,100,950,500), threshold=0.9, method="Template matching", file="./tasks/SoulsTidy/simple/simple_st_gold.png")
 	# description 
-	I_ST_ABANDONED_NOT_SELECTED = RuleImage(roi_front=(22,108,243,56), roi_back=(21,106,245,60), threshold=0.8, method="Template matching", file="./tasks/SoulsTidy/simple/image_name.png")
+	I_ST_ABANDONED_NOT_SELECTED = RuleImage(roi_front=(22,108,243,56), roi_back=(21,106,245,60), threshold=0.8, method="Template matching", file="./tasks/SoulsTidy/simple/simple_st_abandoned_not_selected.png")
 
 
 	# Long Click Rule Assets

+ 2 - 2
tasks/SoulsTidy/simple/click.json

@@ -1,8 +1,8 @@
 [
   {
     "itemName": "st_detail",
-    "roiFront": "1162,230,87,74",
-    "roiBack": "1164,229,87,74",
+    "roiFront": "1188.3333333333333,318.66666666666674,87,74",
+    "roiBack": "1190,317.00000000000006,87,74",
     "description": "御魂详细"
   },
   {

+ 1 - 1
tasks/SoulsTidy/simple/image.json

@@ -136,7 +136,7 @@
   },
   {
     "itemName": "st_abandoned_not_selected",
-    "imageName": "image_name.png",
+    "imageName": "simple_st_abandoned_not_selected.png",
     "roiFront": "22,108,243,56",
     "roiBack": "21,106,245,60",
     "method": "Template matching",

BIN=BIN
tasks/SoulsTidy/simple/simple_st_abandoned_not_selected.png


BIN=BIN
tasks/SoulsTidy/simple/simple_st_replace.png