Răsfoiți Sursa

fix(Delegation): #335

huangrunheng 2 ani în urmă
părinte
comite
b6d2857cc1
2 a modificat fișierele cu 10 adăugiri și 10 ștergeri
  1. 5 5
      tasks/Delegation/assets.py
  2. 5 5
      tasks/Delegation/d/image.json

+ 5 - 5
tasks/Delegation/assets.py

@@ -33,15 +33,15 @@ class DelegationAssets:
 	# 跳过 
 	I_D_SKIP = RuleImage(roi_front=(661,518,70,39), roi_back=(661,518,70,39), threshold=0.67, method="Template matching", file="./tasks/Delegation/d/d_d_skip.png")
 	# description 
-	I_D_SELECT_1 = RuleImage(roi_front=(230,593,44,41), roi_back=(216,578,71,81), threshold=0.7, method="Template matching", file="./tasks/Delegation/d/d_d_select_1.png")
+	I_D_SELECT_1 = RuleImage(roi_front=(230,593,44,41), roi_back=(216,553,71,106), threshold=0.7, method="Template matching", file="./tasks/Delegation/d/d_d_select_1.png")
 	# description 
-	I_D_SELECT_2 = RuleImage(roi_front=(363,595,40,41), roi_back=(327,585,97,60), threshold=0.7, method="Template matching", file="./tasks/Delegation/d/d_d_select_2.png")
+	I_D_SELECT_2 = RuleImage(roi_front=(363,595,40,41), roi_back=(327,547,97,98), threshold=0.7, method="Template matching", file="./tasks/Delegation/d/d_d_select_2.png")
 	# description 
-	I_D_SELECT_3 = RuleImage(roi_front=(497,595,38,41), roi_back=(456,584,105,66), threshold=0.7, method="Template matching", file="./tasks/Delegation/d/d_d_select_3.png")
+	I_D_SELECT_3 = RuleImage(roi_front=(497,595,38,41), roi_back=(456,548,105,102), threshold=0.7, method="Template matching", file="./tasks/Delegation/d/d_d_select_3.png")
 	# description 
-	I_D_SELECT_4 = RuleImage(roi_front=(632,595,42,40), roi_back=(579,584,111,57), threshold=0.7, method="Template matching", file="./tasks/Delegation/d/d_d_select_4.png")
+	I_D_SELECT_4 = RuleImage(roi_front=(632,595,42,40), roi_back=(579,556,111,85), threshold=0.7, method="Template matching", file="./tasks/Delegation/d/d_d_select_4.png")
 	# description 
-	I_D_SELECT_5 = RuleImage(roi_front=(767,593,41,40), roi_back=(721,582,103,60), threshold=0.7, method="Template matching", file="./tasks/Delegation/d/d_d_select_5.png")
+	I_D_SELECT_5 = RuleImage(roi_front=(767,593,41,40), roi_back=(721,556,103,86), threshold=0.7, method="Template matching", file="./tasks/Delegation/d/d_d_select_5.png")
 	# 返回 
 	I_D_BACK = RuleImage(roi_front=(940,415,138,51), roi_back=(940,415,138,51), threshold=0.8, method="Template matching", file="./tasks/Delegation/d/d_d_back.png")
 

+ 5 - 5
tasks/Delegation/d/image.json

@@ -39,7 +39,7 @@
     "itemName": "d_select_1",
     "imageName": "d_d_select_1.png",
     "roiFront": "230,593,44,41",
-    "roiBack": "216,578,71,81",
+    "roiBack": "216,553,71,106",
     "method": "Template matching",
     "threshold": 0.7,
     "description": "description"
@@ -48,7 +48,7 @@
     "itemName": "d_select_2",
     "imageName": "d_d_select_2.png",
     "roiFront": "363,595,40,41",
-    "roiBack": "327,585,97,60",
+    "roiBack": "327,547,97,98",
     "method": "Template matching",
     "threshold": 0.7,
     "description": "description"
@@ -57,7 +57,7 @@
     "itemName": "d_select_3",
     "imageName": "d_d_select_3.png",
     "roiFront": "497,595,38,41",
-    "roiBack": "456,584,105,66",
+    "roiBack": "456,548,105,102",
     "method": "Template matching",
     "threshold": 0.7,
     "description": "description"
@@ -66,7 +66,7 @@
     "itemName": "d_select_4",
     "imageName": "d_d_select_4.png",
     "roiFront": "632,595,42,40",
-    "roiBack": "579,584,111,57",
+    "roiBack": "579,556,111,85",
     "method": "Template matching",
     "threshold": 0.7,
     "description": "description"
@@ -75,7 +75,7 @@
     "itemName": "d_select_5",
     "imageName": "d_d_select_5.png",
     "roiFront": "767,593,41,40",
-    "roiBack": "721,582,103,60",
+    "roiBack": "721,556,103,86",
     "method": "Template matching",
     "threshold": 0.7,
     "description": "description"