Procházet zdrojové kódy

fix(RichMan): update Image of tt

runhey před 3 roky
rodič
revize
ced896ea7c

+ 2 - 2
tasks/RichMan/assets.py

@@ -356,9 +356,9 @@ class RichManAssets:
 	# description 
 	I_TT_AP = RuleImage(roi_front=(938,177,88,87), roi_back=(467,167,581,123), threshold=0.8, method="Template matching", file="./tasks/RichMan/tt/tt_tt_ap.png")
 	# 提高 
-	I_TT_BUY_UP = RuleImage(roi_front=(761,411,59,57), roi_back=(761,411,59,57), threshold=0.8, method="Template matching", file="./tasks/RichMan/tt/tt_tt_buy_up.png")
+	I_TT_BUY_UP = RuleImage(roi_front=(755,427,59,57), roi_back=(740,386,80,146), threshold=0.8, method="Template matching", file="./tasks/RichMan/tt/tt_tt_buy_up.png")
 	# description 
-	I_TT_BUY_CONFIRM = RuleImage(roi_front=(584,512,53,53), roi_back=(553,508,169,60), threshold=0.8, method="Template matching", file="./tasks/RichMan/tt/tt_tt_buy_confirm.png")
+	I_TT_BUY_CONFIRM = RuleImage(roi_front=(584,512,53,53), roi_back=(553,487,169,115), threshold=0.8, method="Template matching", file="./tasks/RichMan/tt/tt_tt_buy_confirm.png")
 
 
 	# Ocr Rule Assets

+ 3 - 3
tasks/RichMan/tt/image.json

@@ -47,8 +47,8 @@
   {
     "itemName": "tt_buy_up",
     "imageName": "tt_tt_buy_up.png",
-    "roiFront": "761,411,59,57",
-    "roiBack": "761,411,59,57",
+    "roiFront": "755,427,59,57",
+    "roiBack": "740,386,80,146",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "提高"
@@ -57,7 +57,7 @@
     "itemName": "tt_buy_confirm",
     "imageName": "tt_tt_buy_confirm.png",
     "roiFront": "584,512,53,53",
-    "roiBack": "553,508,169,60",
+    "roiBack": "553,487,169,115",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "description"

binární
tasks/RichMan/tt/tt_tt_buy_up.png