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

fix(RichMan): update Image of charisma

runhey 3 лет назад
Родитель
Сommit
0a7f12105f

+ 3 - 3
tasks/RichMan/assets.py

@@ -69,11 +69,11 @@ class RichManAssets:
 
 	# Image Rule Assets
 	# 蓝票 
-	I_CH_BLUE = RuleImage(roi_front=(623,142,145,111), roi_back=(161,112,844,462), threshold=0.8, method="Template matching", file="./tasks/RichMan/mall/charisma/charisma_ch_blue.png")
+	I_CH_BLUE = RuleImage(roi_front=(623,142,145,111), roi_back=(623,142,145,111), threshold=0.8, method="Template matching", file="./tasks/RichMan/mall/charisma/charisma_ch_blue.png")
 	# description 
-	I_CH_BLACK = RuleImage(roi_front=(848,393,141,110), roi_back=(137,94,895,486), threshold=0.8, method="Template matching", file="./tasks/RichMan/mall/charisma/charisma_ch_black.png")
+	I_CH_BLACK = RuleImage(roi_front=(848,393,141,110), roi_back=(848,393,141,110), threshold=0.8, method="Template matching", file="./tasks/RichMan/mall/charisma/charisma_ch_black.png")
 	# 蓝票购买确认 
-	I_CH_CHECK_BLUE = RuleImage(roi_front=(451,230,100,100), roi_back=(451,230,100,100), threshold=0.8, method="Template matching", file="./tasks/RichMan/mall/charisma/charisma_ch_check_blue.png")
+	I_CH_CHECK_BLUE = RuleImage(roi_front=(587,243,100,100), roi_back=(587,243,100,100), threshold=0.8, method="Template matching", file="./tasks/RichMan/mall/charisma/charisma_ch_check_blue.png")
 
 
 	# Image Rule Assets

BIN
tasks/RichMan/mall/charisma/charisma_ch_check_blue.png


+ 4 - 4
tasks/RichMan/mall/charisma/image.json

@@ -3,7 +3,7 @@
     "itemName": "ch_blue",
     "imageName": "charisma_ch_blue.png",
     "roiFront": "623,142,145,111",
-    "roiBack": "161,112,844,462",
+    "roiBack": "623,142,145,111",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "蓝票"
@@ -12,7 +12,7 @@
     "itemName": "ch_black",
     "imageName": "charisma_ch_black.png",
     "roiFront": "848,393,141,110",
-    "roiBack": "137,94,895,486",
+    "roiBack": "848,393,141,110",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "description"
@@ -20,8 +20,8 @@
   {
     "itemName": "ch_check_blue",
     "imageName": "charisma_ch_check_blue.png",
-    "roiFront": "451,230,100,100",
-    "roiBack": "451,230,100,100",
+    "roiFront": "587,243,100,100",
+    "roiBack": "587,243,100,100",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "蓝票购买确认"