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

扩大结算奖励识别范围

yEs1do 1 год назад
Родитель
Сommit
75bab78dea

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

@@ -110,7 +110,7 @@ class GeneralBattleAssets:
 	# 结算金币 
 	I_REWARD_GOLD = RuleImage(roi_front=(268,178,97,69), roi_back=(254,163,797,261), threshold=0.8, method="Template matching", file="./tasks/Component/GeneralBattle/gb/gb_reward_gold.png")
 	# 结算紫蛇皮 
-	I_REWARD_PURPLE_SNAKE_SKIN = RuleImage(roi_front=(283,214,67,37), roi_back=(254,163,797,261), threshold=0.8, method="Template matching", file="./tasks/Component/GeneralBattle/gb/gb_reward_purple_snake_skin.png")
+	I_REWARD_PURPLE_SNAKE_SKIN = RuleImage(roi_front=(604,213,67,37), roi_back=(108,163,1070,261), threshold=0.8, method="Template matching", file="./tasks/Component/GeneralBattle/gb/gb_reward_purple_snake_skin.png")
 	# 结算金蛇皮 
 	I_REWARD_GOLD_SNAKE_SKIN = RuleImage(roi_front=(537,176,97,75), roi_back=(254,163,797,261), threshold=0.8, method="Template matching", file="./tasks/Component/GeneralBattle/gb/gb_reward_gold_snake_skin.png")
 	# 结算四星青吉鬼 

+ 2 - 2
tasks/Component/GeneralBattle/gb/image.json

@@ -191,8 +191,8 @@
   {
     "itemName": "reward_purple_snake_skin",
     "imageName": "gb_reward_purple_snake_skin.png",
-    "roiFront": "283,214,67,37",
-    "roiBack": "254,163,797,261",
+    "roiFront": "604,213,67,37",
+    "roiBack": "108,163,1070,261",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "结算紫蛇皮"