Explorar el Código

pref(WeeklyTrifles): 秘闻分享 微信位置调整

GanSer hace 1 año
padre
commit
f48c205d53

+ 3 - 3
tasks/WeeklyTrifles/assets.py

@@ -70,11 +70,11 @@ class WeeklyTriflesAssets:
 	# 秘闻进入 
 	# 秘闻进入 
 	I_WT_ENTER_SE = RuleImage(roi_front=(1145,598,100,100), roi_back=(1145,598,100,100), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/secret/secret_wt_enter_se.png")
 	I_WT_ENTER_SE = RuleImage(roi_front=(1145,598,100,100), roi_back=(1145,598,100,100), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/secret/secret_wt_enter_se.png")
 	# 秘闻分享 
 	# 秘闻分享 
-	I_WT_SE_SHARE = RuleImage(roi_front=(911,570,46,43), roi_back=(897,559,85,64), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/secret/secret_wt_se_share.png")
+	I_WT_SE_SHARE = RuleImage(roi_front=(911,570,46,43), roi_back=(911,570,46,43), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/secret/secret_wt_se_share.png")
 	# 微信 
 	# 微信 
-	I_WT_SE_WECHAT = RuleImage(roi_front=(1023,630,56,57), roi_back=(1023,630,56,57), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/secret/secret_wt_se_wechat.png")
+	I_WT_SE_WECHAT = RuleImage(roi_front=(786,627,45,37), roi_back=(786,627,45,37), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/secret/secret_wt_se_wechat.png")
 	# 勾玉 
 	# 勾玉 
-	I_WT_SE_JADE = RuleImage(roi_front=(1123,532,35,39), roi_back=(1105,520,79,73), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/secret/secret_wt_se_jade.png")
+	I_WT_SE_JADE = RuleImage(roi_front=(1123,532,35,39), roi_back=(1123,532,35,39), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/secret/secret_wt_se_jade.png")
 	# 排行 
 	# 排行 
 	I_WT_SE_RANK = RuleImage(roi_front=(1017,572,45,44), roi_back=(989,556,103,81), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/secret/secret_wt_se_rank.png")
 	I_WT_SE_RANK = RuleImage(roi_front=(1017,572,45,44), roi_back=(989,556,103,81), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/secret/secret_wt_se_rank.png")
 
 

+ 4 - 4
tasks/WeeklyTrifles/secret/image.json

@@ -12,7 +12,7 @@
     "itemName": "wt_se_share",
     "itemName": "wt_se_share",
     "imageName": "secret_wt_se_share.png",
     "imageName": "secret_wt_se_share.png",
     "roiFront": "911,570,46,43",
     "roiFront": "911,570,46,43",
-    "roiBack": "897,559,85,64",
+    "roiBack": "911,570,46,43",
     "method": "Template matching",
     "method": "Template matching",
     "threshold": 0.8,
     "threshold": 0.8,
     "description": "秘闻分享"
     "description": "秘闻分享"
@@ -20,8 +20,8 @@
   {
   {
     "itemName": "wt_se_wechat",
     "itemName": "wt_se_wechat",
     "imageName": "secret_wt_se_wechat.png",
     "imageName": "secret_wt_se_wechat.png",
-    "roiFront": "1023,630,56,57",
-    "roiBack": "1023,630,56,57",
+    "roiFront": "786,627,45,37",
+    "roiBack": "786,627,45,37",
     "method": "Template matching",
     "method": "Template matching",
     "threshold": 0.8,
     "threshold": 0.8,
     "description": "微信"
     "description": "微信"
@@ -30,7 +30,7 @@
     "itemName": "wt_se_jade",
     "itemName": "wt_se_jade",
     "imageName": "secret_wt_se_jade.png",
     "imageName": "secret_wt_se_jade.png",
     "roiFront": "1123,532,35,39",
     "roiFront": "1123,532,35,39",
-    "roiBack": "1105,520,79,73",
+    "roiBack": "1123,532,35,39",
     "method": "Template matching",
     "method": "Template matching",
     "threshold": 0.8,
     "threshold": 0.8,
     "description": "勾玉"
     "description": "勾玉"

BIN
tasks/WeeklyTrifles/secret/secret_wt_se_jade.png


BIN
tasks/WeeklyTrifles/secret/secret_wt_se_wechat.png