Kaynağa Gözat

pref(WeeklyTrifles): 地域鬼王分享 微信位置调整

GanSer 1 yıl önce
ebeveyn
işleme
c16bacaf82

BIN
tasks/WeeklyTrifles/area_boss/area_boss_wt_ab_jade.png


BIN
tasks/WeeklyTrifles/area_boss/area_boss_wt_ab_wechat.png


+ 5 - 5
tasks/WeeklyTrifles/area_boss/image.json

@@ -21,7 +21,7 @@
     "itemName": "wt_share_ab",
     "imageName": "area_boss_wt_share_ab.png",
     "roiFront": "1183,308,45,39",
-    "roiBack": "1136,292,105,79",
+    "roiBack": "1183,308,45,39",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "地鬼分享"
@@ -29,8 +29,8 @@
   {
     "itemName": "wt_ab_jade",
     "imageName": "area_boss_wt_ab_jade.png",
-    "roiFront": "922,554,44,47",
-    "roiBack": "922,554,44,47",
+    "roiFront": "977,552,44,47",
+    "roiBack": "977,552,44,47",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "分享勾玉"
@@ -38,8 +38,8 @@
   {
     "itemName": "wt_ab_wechat",
     "imageName": "area_boss_wt_ab_wechat.png",
-    "roiFront": "1032,643,50,56",
-    "roiBack": "1032,643,50,56",
+    "roiFront": "845,643,50,41",
+    "roiBack": "845,643,50,41",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "微信分享"

+ 3 - 3
tasks/WeeklyTrifles/assets.py

@@ -21,11 +21,11 @@ class WeeklyTriflesAssets:
 	# 今天一个都没有打 
 	I_WT_NO_DAY = RuleImage(roi_front=(167,360,72,69), roi_back=(167,360,72,69), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/area_boss/area_boss_wt_no_day.png")
 	# 地鬼分享 
-	I_WT_SHARE_AB = RuleImage(roi_front=(1183,308,45,39), roi_back=(1136,292,105,79), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/area_boss/area_boss_wt_share_ab.png")
+	I_WT_SHARE_AB = RuleImage(roi_front=(1183,308,45,39), roi_back=(1183,308,45,39), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/area_boss/area_boss_wt_share_ab.png")
 	# 分享勾玉 
-	I_WT_AB_JADE = RuleImage(roi_front=(922,554,44,47), roi_back=(922,554,44,47), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/area_boss/area_boss_wt_ab_jade.png")
+	I_WT_AB_JADE = RuleImage(roi_front=(977,552,44,47), roi_back=(977,552,44,47), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/area_boss/area_boss_wt_ab_jade.png")
 	# 微信分享 
-	I_WT_AB_WECHAT = RuleImage(roi_front=(1032,643,50,56), roi_back=(1032,643,50,56), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/area_boss/area_boss_wt_ab_wechat.png")
+	I_WT_AB_WECHAT = RuleImage(roi_front=(845,643,50,41), roi_back=(845,643,50,41), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/area_boss/area_boss_wt_ab_wechat.png")
 
 
 	# Image Rule Assets