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

fix(RyouToppa): Fixed the roi of the image

huangrunheng 2 лет назад
Родитель
Сommit
cd08634c80
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      tasks/RyouToppa/assets.py
  2. 1 1
      tasks/RyouToppa/res/image.json

+ 1 - 1
tasks/RyouToppa/assets.py

@@ -117,7 +117,7 @@ class RyouToppaAssets:
 
 	# Image Rule Assets
 	# 寮突 
-	I_RYOU_TOPPA = RuleImage(roi_front=(1191,352,78,116), roi_back=(1141,322,118,136), threshold=0.6, method="Template matching", file="./tasks/RyouToppa/res/res_ryou_toppa.png")
+	I_RYOU_TOPPA = RuleImage(roi_front=(1191,352,78,116), roi_back=(1161,323,118,193), threshold=0.6, method="Template matching", file="./tasks/RyouToppa/res/res_ryou_toppa.png")
 	# 寮突选择阴阳寮按钮 
 	I_SELECT_RYOU_BUTTON = RuleImage(roi_front=(560,577,156,46), roi_back=(560,577,156,46), threshold=0.8, method="Template matching", file="./tasks/RyouToppa/res/res_select_ryou_button.png")
 	# 开始寮突按钮 

+ 1 - 1
tasks/RyouToppa/res/image.json

@@ -3,7 +3,7 @@
     "itemName": "ryou_toppa",
     "imageName": "res_ryou_toppa.png",
     "roiFront": "1191,352,78,116",
-    "roiBack": "1141,322,118,136",
+    "roiBack": "1161,323,118,193",
     "method": "Template matching",
     "threshold": 0.6,
     "description": "寮突"