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

fix(WeeklyTrifles): Update image

ryland 2 лет назад
Родитель
Сommit
3a6e503c31

+ 1 - 1
tasks/WeeklyTrifles/assets.py

@@ -63,7 +63,7 @@ class WeeklyTriflesAssets:
 	# 微信分享 
 	I_WT_COLLECT_WECHAT = RuleImage(roi_front=(640,617,70,63), roi_back=(640,617,70,63), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/collect/collect_wt_collect_wechat.png")
 	# 二维码 
-	I_WT_QR_CODE = RuleImage(roi_front=(473,161,336,96), roi_back=(404,112,483,168), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/collect/collect_wt_qr_code.png")
+	I_WT_QR_CODE = RuleImage(roi_front=(473,161,336,96), roi_back=(404,112,483,168), threshold=0.65, method="Template matching", file="./tasks/WeeklyTrifles/collect/collect_wt_qr_code.png")
 
 
 	# Image Rule Assets

+ 1 - 1
tasks/WeeklyTrifles/collect/image.json

@@ -59,7 +59,7 @@
     "roiFront": "473,161,336,96",
     "roiBack": "404,112,483,168",
     "method": "Template matching",
-    "threshold": 0.8,
+    "threshold": 0.65,
     "description": "二维码"
   }
 ]

+ 1 - 1
tasks/WeeklyTrifles/script_task.py

@@ -273,7 +273,7 @@ if __name__ == '__main__':
     t = ScriptTask(c, d)
     t.screenshot()
 
-    t._share_area_boss()
+    t._share_collect()
     # t.click_share(t.I_WT_SE_WECHAT)