소스 검색

Merge pull request #2008 from Ghostuel/fix/main16-town-template

fix: 修复狐栖归处庭院町中入口识别
huangrunheng 3 주 전
부모
커밋
c37eabcd99
3개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      tasks/Component/Costume/assets.py
  2. 1 1
      tasks/Component/Costume/main16/image.json
  3. BIN
      tasks/Component/Costume/main16/main16_main_goto_town_16.png

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

@@ -109,7 +109,7 @@ class CostumeAssets:
 	# 召唤屋 
 	I_MAIN_GOTO_SUMMON_16 = RuleImage(roi_front=(981,218,28,24), roi_back=(930,170,130,150), threshold=0.55, method="Template matching", file="./tasks/Component/Costume/main16/main16_main_goto_summon_16.png")
 	# 町中 
-	I_MAIN_GOTO_TOWN_16 = RuleImage(roi_front=(1014,346,14,34), roi_back=(960,300,100,120), threshold=0.8, method="Template matching", file="./tasks/Component/Costume/main16/main16_main_goto_town_16.png")
+	I_MAIN_GOTO_TOWN_16 = RuleImage(roi_front=(1012,340,21,42), roi_back=(960,300,100,120), threshold=0.8, method="Template matching", file="./tasks/Component/Costume/main16/main16_main_goto_town_16.png")
 	# 宠物屋 
 	I_PET_HOUSE_16 = RuleImage(roi_front=(1256,402,20,58), roi_back=(1210,340,70,140), threshold=0.8, method="Template matching", file="./tasks/Component/Costume/main16/main16_pet_house_16.png")
 

+ 1 - 1
tasks/Component/Costume/main16/image.json

@@ -29,7 +29,7 @@
   {
     "itemName": "main_goto_town_16",
     "imageName": "main16_main_goto_town_16.png",
-    "roiFront": "1014,346,14,34",
+    "roiFront": "1012,340,21,42",
     "roiBack": "960,300,100,120",
     "method": "Template matching",
     "threshold": 0.8,

BIN
tasks/Component/Costume/main16/main16_main_goto_town_16.png