Browse Source

修复师徒小纸人遮挡宠物小屋

yEs1do 2 years ago
parent
commit
59abab26c5
3 changed files with 2 additions and 2 deletions
  1. 1 1
      tasks/Pets/assets.py
  2. 1 1
      tasks/Pets/pet/image.json
  3. BIN
      tasks/Pets/pet/pet_pet_house.png

+ 1 - 1
tasks/Pets/assets.py

@@ -12,7 +12,7 @@ class PetsAssets:
 
 	# Image Rule Assets
 	# 宠物小屋 
-	I_PET_HOUSE = RuleImage(roi_front=(1055,434,27,31), roi_back=(952,412,144,60), threshold=0.7, method="Template matching", file="./tasks/Pets/pet/pet_pet_house.png")
+	I_PET_HOUSE = RuleImage(roi_front=(1012,414,56,25), roi_back=(952,412,144,60), threshold=0.7, method="Template matching", file="./tasks/Pets/pet/pet_pet_house.png")
 	# 爪印 
 	I_PET_CLAW = RuleImage(roi_front=(1171,625,55,56), roi_back=(1171,625,55,56), threshold=0.8, method="Template matching", file="./tasks/Pets/pet/pet_pet_claw.png")
 	# 其乐融融 

+ 1 - 1
tasks/Pets/pet/image.json

@@ -2,7 +2,7 @@
   {
     "itemName": "pet_house",
     "imageName": "pet_pet_house.png",
-    "roiFront": "1055,434,27,31",
+    "roiFront": "1012,414,56,25",
     "roiBack": "952,412,144,60",
     "method": "Template matching",
     "threshold": 0.7,

BIN
tasks/Pets/pet/pet_pet_house.png