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

fix(RichMan): update Image of friendship_points

runhey 3 лет назад
Родитель
Сommit
428154ff57

+ 4 - 4
tasks/RichMan/assets.py

@@ -92,13 +92,13 @@ class RichManAssets:
 
 	# Image Rule Assets
 	# 红蛋 
-	I_FS_RED = RuleImage(roi_front=(423,158,100,100), roi_back=(423,158,100,100), threshold=0.8, method="Template matching", file="./tasks/RichMan/mall/friendship_points/friendship_points_fs_red.png")
+	I_FS_RED = RuleImage(roi_front=(400,138,141,135), roi_back=(400,138,141,135), threshold=0.8, method="Template matching", file="./tasks/RichMan/mall/friendship_points/friendship_points_fs_red.png")
 	# 破碎的咒符 
-	I_FS_BROKEN = RuleImage(roi_front=(200,153,100,100), roi_back=(200,153,100,100), threshold=0.8, method="Template matching", file="./tasks/RichMan/mall/friendship_points/friendship_points_fs_broken.png")
+	I_FS_BROKEN = RuleImage(roi_front=(173,142,149,129), roi_back=(173,142,149,129), threshold=0.8, method="Template matching", file="./tasks/RichMan/mall/friendship_points/friendship_points_fs_broken.png")
 	# description 
-	I_FS_WHITE_CLICK = RuleImage(roi_front=(647,157,100,100), roi_back=(647,157,100,100), threshold=0.8, method="Template matching", file="./tasks/RichMan/mall/friendship_points/friendship_points_fs_white_click.png")
+	I_FS_WHITE_CLICK = RuleImage(roi_front=(627,140,138,132), roi_back=(627,140,138,132), threshold=0.8, method="Template matching", file="./tasks/RichMan/mall/friendship_points/friendship_points_fs_white_click.png")
 	# 白蛋确认 
-	I_FS_WHITE_CHECK = RuleImage(roi_front=(452,229,100,100), roi_back=(452,229,100,100), threshold=0.8, method="Template matching", file="./tasks/RichMan/mall/friendship_points/friendship_points_fs_white_check.png")
+	I_FS_WHITE_CHECK = RuleImage(roi_front=(589,227,100,100), roi_back=(589,227,100,100), threshold=0.8, method="Template matching", file="./tasks/RichMan/mall/friendship_points/friendship_points_fs_white_check.png")
 
 
 	# Image Rule Assets

BIN
tasks/RichMan/mall/friendship_points/friendship_points_fs_broken.png


BIN
tasks/RichMan/mall/friendship_points/friendship_points_fs_red.png


BIN
tasks/RichMan/mall/friendship_points/friendship_points_fs_white_check.png


BIN
tasks/RichMan/mall/friendship_points/friendship_points_fs_white_click.png


+ 8 - 8
tasks/RichMan/mall/friendship_points/image.json

@@ -2,8 +2,8 @@
   {
     "itemName": "fs_red",
     "imageName": "friendship_points_fs_red.png",
-    "roiFront": "423,158,100,100",
-    "roiBack": "423,158,100,100",
+    "roiFront": "400,138,141,135",
+    "roiBack": "400,138,141,135",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "红蛋"
@@ -11,8 +11,8 @@
   {
     "itemName": "fs_broken",
     "imageName": "friendship_points_fs_broken.png",
-    "roiFront": "200,153,100,100",
-    "roiBack": "200,153,100,100",
+    "roiFront": "173,142,149,129",
+    "roiBack": "173,142,149,129",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "破碎的咒符"
@@ -20,8 +20,8 @@
   {
     "itemName": "fs_white_click",
     "imageName": "friendship_points_fs_white_click.png",
-    "roiFront": "647,157,100,100",
-    "roiBack": "647,157,100,100",
+    "roiFront": "627,140,138,132",
+    "roiBack": "627,140,138,132",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "description"
@@ -29,8 +29,8 @@
   {
     "itemName": "fs_white_check",
     "imageName": "friendship_points_fs_white_check.png",
-    "roiFront": "452,229,100,100",
-    "roiBack": "452,229,100,100",
+    "roiFront": "589,227,100,100",
+    "roiBack": "589,227,100,100",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "白蛋确认"