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

fix: update ROI values for check_main_4 images in JSON and assets

yuyuyuyuyu 6 месяцев назад
Родитель
Сommit
199a5ad5bc

+ 1 - 1
tasks/Component/Costume/assets.py

@@ -116,7 +116,7 @@ class CostumeAssets:
 
 	# Image Rule Assets
 	# description 
-	I_CHECK_MAIN_4 = RuleImage(roi_front=(513,139,48,55), roi_back=(149,108,1068,100), threshold=0.8, method="Template matching", file="./tasks/Component/Costume/main4/main4_check_main_4.png")
+	I_CHECK_MAIN_4 = RuleImage(roi_front=(885,192,37,32), roi_back=(149,108,1005,144), threshold=0.8, method="Template matching", file="./tasks/Component/Costume/main4/main4_check_main_4.png")
 	# description 
 	I_MAIN_GOTO_EXPLORATION_4 = RuleImage(roi_front=(439,234,32,48), roi_back=(150,201,847,100), threshold=0.8, method="Template matching", file="./tasks/Component/Costume/main4/main4_main_goto_exploration_4.png")
 	#  

+ 2 - 2
tasks/Component/Costume/main4/image.json

@@ -2,8 +2,8 @@
   {
     "itemName": "check_main_4",
     "imageName": "main4_check_main_4.png",
-    "roiFront": "513,139,48,55",
-    "roiBack": "149,108,1068,100",
+    "roiFront": "885,192,37,32",
+    "roiBack": "149,108,1005,144",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "description"

BIN
tasks/Component/Costume/main4/main4_check_main_4.png