Selaa lähdekoodia

fix(costumes): 补充识别资源

yuyuyuyuyu 5 kuukautta sitten
vanhempi
sitoutus
5c8e5a31ce
46 muutettua tiedostoa jossa 456 lisäystä ja 1 poistoa
  1. 3 0
      assets/i18n/zh-CN.json
  2. 2 0
      tasks/Component/Costume/config.py
  3. 1 1
      tasks/Component/Costume/costume_base.py
  4. 86 0
      tasks/Component/CostumeShikigami/assets.py
  5. 182 0
      tasks/Component/CostumeShikigami/sk10/image.json
  6. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_check_records_10.png
  7. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_record_soul_back_10.png
  8. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_1_10.png
  9. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_2_10.png
  10. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_3_10.png
  11. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_4_10.png
  12. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_5_10.png
  13. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_6_10.png
  14. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_7_10.png
  15. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_check_in_10.png
  16. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_click_present_10.png
  17. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_1_10.png
  18. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_2_10.png
  19. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_3_10.png
  20. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_4_10.png
  21. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_sure_10.png
  22. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_sou_team_present_10.png
  23. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_soul_preset_10.png
  24. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_st_replace_10.png
  25. BIN
      tasks/Component/CostumeShikigami/sk10/sk10_st_souls_10.png
  26. 182 0
      tasks/Component/CostumeShikigami/sk9/image.json
  27. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_check_records_9.png
  28. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_record_soul_back_9.png
  29. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_1_9.png
  30. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_2_9.png
  31. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_3_9.png
  32. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_4_9.png
  33. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_5_9.png
  34. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_6_9.png
  35. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_7_9.png
  36. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_check_in_9.png
  37. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_click_present_9.png
  38. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_1_9.png
  39. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_2_9.png
  40. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_3_9.png
  41. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_4_9.png
  42. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_sure_9.png
  43. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_sou_team_preset_9.png
  44. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_soul_preset_9.png
  45. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_st_replace_9.png
  46. BIN
      tasks/Component/CostumeShikigami/sk9/sk9_st_souls_9.png

+ 3 - 0
assets/i18n/zh-CN.json

@@ -7,6 +7,9 @@
   "skill_mode": "技能本模式",
   "skill_mode": "技能本模式",
   "costume_shikigami_6": "月下火舞",
   "costume_shikigami_6": "月下火舞",
   "costume_shikigami_7": "赤溟幽界",
   "costume_shikigami_7": "赤溟幽界",
+  "costume_shikigami_8": "童梦基地",
+  "costume_shikigami_9": "鹿眠之森",
+  "costume_shikigami_10": "今宵胧明",
   "costume_carpbanner_type": "鲤鱼旗皮肤",
   "costume_carpbanner_type": "鲤鱼旗皮肤",
   "costume_carpbanner_default": "吉鲤游风",
   "costume_carpbanner_default": "吉鲤游风",
   "costume_carpbanner_1": "无垢莲台",
   "costume_carpbanner_1": "无垢莲台",

+ 2 - 0
tasks/Component/Costume/config.py

@@ -48,6 +48,8 @@ class ShikigamiType(str, Enum):
     COSTUME_SHIKIGAMI_6 = 'costume_shikigami_6'  # 月下火舞
     COSTUME_SHIKIGAMI_6 = 'costume_shikigami_6'  # 月下火舞
     COSTUME_SHIKIGAMI_7 = 'costume_shikigami_7'  # 赤溟幽界
     COSTUME_SHIKIGAMI_7 = 'costume_shikigami_7'  # 赤溟幽界
     COSTUME_SHIKIGAMI_8 = 'costume_shikigami_8'  # 童梦基地
     COSTUME_SHIKIGAMI_8 = 'costume_shikigami_8'  # 童梦基地
+    COSTUME_SHIKIGAMI_9 = 'costume_shikigami_9'  # 鹿眠之森
+    COSTUME_SHIKIGAMI_10 = 'costume_shikigami_10'  # 今宵胧明
 
 
 # 签到主题
 # 签到主题
 class SignType(str, Enum):
 class SignType(str, Enum):

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

@@ -77,7 +77,7 @@ shikigami_costume_model = {
         'I_ST_SOULS': f'I_ST_SOULS_{i}',
         'I_ST_SOULS': f'I_ST_SOULS_{i}',
         'I_ST_REPLACE': f'I_ST_REPLACE_{i}',
         'I_ST_REPLACE': f'I_ST_REPLACE_{i}',
     }
     }
-    for i in range(1, 9)  # 目前支持 COSTUME_SHIKIGAMI_1 到 COSTUME_SHIKIGAMI_8
+    for i in range(1, 11)  # 目前支持 COSTUME_SHIKIGAMI_1 到 COSTUME_SHIKIGAMI_10
 }
 }
 
 
 class CostumeBase:
 class CostumeBase:

+ 86 - 0
tasks/Component/CostumeShikigami/assets.py

@@ -53,6 +53,49 @@ class CostumeShikigamiAssets:
 	I_ST_REPLACE_1 = RuleImage(roi_front=(856,170,100,100), roi_back=(856,170,100,100), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk1/sk1_st_replace_1.png")
 	I_ST_REPLACE_1 = RuleImage(roi_front=(856,170,100,100), roi_back=(856,170,100,100), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk1/sk1_st_replace_1.png")
 
 
 
 
+	# Image Rule Assets
+	# 用于判断在式神录 
+	I_CHECK_RECORDS_10 = RuleImage(roi_front=(276,79,34,36), roi_back=(265,71,60,50), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_check_records_10.png")
+	# 退出式神录 
+	I_RECORD_SOUL_BACK_10 = RuleImage(roi_front=(19,9,51,44), roi_back=(19,9,51,44), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_record_soul_back_10.png")
+	# 预设 
+	I_SOUL_PRESET_10 = RuleImage(roi_front=(342,82,73,36), roi_back=(310,57,169,72), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_soul_preset_10.png")
+	# 第一组切换 
+	I_SOU_SWITCH_1_10 = RuleImage(roi_front=(979,141,25,27), roi_back=(960,131,60,50), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_1_10.png")
+	# 第二组切换 
+	I_SOU_SWITCH_2_10 = RuleImage(roi_front=(980,296,25,27), roi_back=(960,285,60,50), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_2_10.png")
+	# 第三组切换 
+	I_SOU_SWITCH_3_10 = RuleImage(roi_front=(980,450,25,27), roi_back=(960,442,60,50), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_3_10.png")
+	# 第四组切换 
+	I_SOU_SWITCH_4_10 = RuleImage(roi_front=(979,602,25,27), roi_back=(960,592,60,50), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_4_10.png")
+	# 确认切换 
+	I_SOU_SWITCH_SURE_10 = RuleImage(roi_front=(669,401,190,61), roi_back=(669,401,190,61), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_sure_10.png")
+	# 用于判断是否在式神录里面 
+	I_SOU_CHECK_IN_10 = RuleImage(roi_front=(277,79,34,36), roi_back=(265,71,60,50), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_check_in_10.png")
+	# 检查是否为第一组 
+	I_SOU_CHECK_GROUP_1_10 = RuleImage(roi_front=(1096,80,25,56), roi_back=(1096,80,25,56), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_1_10.png")
+	# 检查是否为第二组 
+	I_SOU_CHECK_GROUP_2_10 = RuleImage(roi_front=(1098,150,25,60), roi_back=(1098,150,25,60), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_2_10.png")
+	# 检查是否为第三组 
+	I_SOU_CHECK_GROUP_3_10 = RuleImage(roi_front=(1096,219,25,60), roi_back=(1096,219,25,60), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_3_10.png")
+	# 检查是否为第四组 
+	I_SOU_CHECK_GROUP_4_10 = RuleImage(roi_front=(1096,288,25,60), roi_back=(1096,288,25,60), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_4_10.png")
+	# 检查是否为第五组 
+	I_SOU_CHECK_GROUP_5_10 = RuleImage(roi_front=(1096,356,25,60), roi_back=(1096,356,25,60), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_5_10.png")
+	# 检查是否为第六组 
+	I_SOU_CHECK_GROUP_6_10 = RuleImage(roi_front=(1094,428,25,60), roi_back=(1094,428,25,60), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_6_10.png")
+	# 检查是否为第七组 
+	I_SOU_CHECK_GROUP_7_10 = RuleImage(roi_front=(1095,496,25,60), roi_back=(1095,496,25,60), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_7_10.png")
+	# 匹配队伍预设 
+	I_SOU_TEAM_PRESENT_10 = RuleImage(roi_front=(720,76,112,35), roi_back=(706,69,175,63), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_team_present_10.png")
+	# 需要切换的预设按钮(颜色深一点) 
+	I_SOU_CLICK_PRESENT_10 = RuleImage(roi_front=(980,294,25,27), roi_back=(965,132,49,500), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_sou_click_present_10.png")
+	# 选中的御魂 
+	I_ST_SOULS_10 = RuleImage(roi_front=(1196,234,33,65), roi_back=(1170,220,70,90), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_st_souls_10.png")
+	# 更换 
+	I_ST_REPLACE_10 = RuleImage(roi_front=(878,224,63,39), roi_back=(855,175,110,130), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk10/sk10_st_replace_10.png")
+
+
 	# Image Rule Assets
 	# Image Rule Assets
 	# 用于判断在式神录 
 	# 用于判断在式神录 
 	I_CHECK_RECORDS_2 = RuleImage(roi_front=(267,76,51,46), roi_back=(265,74,55,50), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk2/sk2_check_records_2.png")
 	I_CHECK_RECORDS_2 = RuleImage(roi_front=(267,76,51,46), roi_back=(265,74,55,50), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk2/sk2_check_records_2.png")
@@ -354,3 +397,46 @@ class CostumeShikigamiAssets:
 	I_ST_REPLACE_8 = RuleImage(roi_front=(856,150,49,73), roi_back=(856,150,110,130), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk8/sk8_st_replace_8.png")
 	I_ST_REPLACE_8 = RuleImage(roi_front=(856,150,49,73), roi_back=(856,150,110,130), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk8/sk8_st_replace_8.png")
 
 
 
 
+	# Image Rule Assets
+	# 用于判断在式神录 
+	I_CHECK_RECORDS_9 = RuleImage(roi_front=(276,79,34,36), roi_back=(265,71,60,50), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_check_records_9.png")
+	# 退出式神录 
+	I_RECORD_SOUL_BACK_9 = RuleImage(roi_front=(19,9,51,44), roi_back=(19,9,51,44), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_record_soul_back_9.png")
+	# 预设 
+	I_SOUL_PRESET_9 = RuleImage(roi_front=(342,82,73,36), roi_back=(310,57,169,72), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_soul_preset_9.png")
+	# 第一组切换 
+	I_SOU_SWITCH_1_9 = RuleImage(roi_front=(979,141,25,27), roi_back=(960,131,60,50), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_1_9.png")
+	# 第二组切换 
+	I_SOU_SWITCH_2_9 = RuleImage(roi_front=(980,296,25,27), roi_back=(960,285,60,50), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_2_9.png")
+	# 第三组切换 
+	I_SOU_SWITCH_3_9 = RuleImage(roi_front=(980,450,25,27), roi_back=(960,442,60,50), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_3_9.png")
+	# 第四组切换 
+	I_SOU_SWITCH_4_9 = RuleImage(roi_front=(979,602,25,27), roi_back=(960,592,60,50), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_4_9.png")
+	# 确认切换 
+	I_SOU_SWITCH_SURE_9 = RuleImage(roi_front=(669,401,190,61), roi_back=(669,401,190,61), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_sure_9.png")
+	# 用于判断是否在式神录里面 
+	I_SOU_CHECK_IN_9 = RuleImage(roi_front=(277,79,34,36), roi_back=(265,71,60,50), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_check_in_9.png")
+	# 检查是否为第一组 
+	I_SOU_CHECK_GROUP_1_9 = RuleImage(roi_front=(1096,80,25,56), roi_back=(1096,80,25,56), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_1_9.png")
+	# 检查是否为第二组 
+	I_SOU_CHECK_GROUP_2_9 = RuleImage(roi_front=(1098,150,25,60), roi_back=(1098,150,25,60), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_2_9.png")
+	# 检查是否为第三组 
+	I_SOU_CHECK_GROUP_3_9 = RuleImage(roi_front=(1096,219,25,60), roi_back=(1096,219,25,60), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_3_9.png")
+	# 检查是否为第四组 
+	I_SOU_CHECK_GROUP_4_9 = RuleImage(roi_front=(1096,288,25,60), roi_back=(1096,288,25,60), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_4_9.png")
+	# 检查是否为第五组 
+	I_SOU_CHECK_GROUP_5_9 = RuleImage(roi_front=(1096,356,25,60), roi_back=(1096,356,25,60), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_5_9.png")
+	# 检查是否为第六组 
+	I_SOU_CHECK_GROUP_6_9 = RuleImage(roi_front=(1094,428,25,60), roi_back=(1094,428,25,60), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_6_9.png")
+	# 检查是否为第七组 
+	I_SOU_CHECK_GROUP_7_9 = RuleImage(roi_front=(1095,496,25,60), roi_back=(1095,496,25,60), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_7_9.png")
+	# 匹配队伍预设 
+	I_SOU_TEAM_PRESENT_9 = RuleImage(roi_front=(720,76,112,35), roi_back=(706,69,175,63), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_team_preset_9.png")
+	# 需要切换的预设按钮(颜色深一点) 
+	I_SOU_CLICK_PRESENT_9 = RuleImage(roi_front=(980,294,25,27), roi_back=(965,132,49,500), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_sou_click_present_9.png")
+	# 选中的御魂 
+	I_ST_SOULS_9 = RuleImage(roi_front=(1196,234,33,65), roi_back=(1170,220,70,90), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_st_souls_9.png")
+	# 更换 
+	I_ST_REPLACE_9 = RuleImage(roi_front=(878,224,63,39), roi_back=(855,175,110,130), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeShikigami/sk9/sk9_st_replace_9.png")
+
+

+ 182 - 0
tasks/Component/CostumeShikigami/sk10/image.json

@@ -0,0 +1,182 @@
+[
+  {
+    "itemName": "check_records_10",
+    "imageName": "sk10_check_records_10.png",
+    "roiFront": "276,79,34,36",
+    "roiBack": "265,71,60,50",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "用于判断在式神录"
+  },
+  {
+    "itemName": "record_soul_back_10",
+    "imageName": "sk10_record_soul_back_10.png",
+    "roiFront": "19,9,51,44",
+    "roiBack": "19,9,51,44",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "退出式神录"
+  },
+  {
+    "itemName": "soul_preset_10",
+    "imageName": "sk10_soul_preset_10.png",
+    "roiFront": "342,82,73,36",
+    "roiBack": "310,57,169,72",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "预设"
+  },
+  {
+    "itemName": "sou_switch_1_10",
+    "imageName": "sk10_sou_switch_1_10.png",
+    "roiFront": "979,141,25,27",
+    "roiBack": "960,131,60,50",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "第一组切换"
+  },
+  {
+    "itemName": "sou_switch_2_10",
+    "imageName": "sk10_sou_switch_2_10.png",
+    "roiFront": "980,296,25,27",
+    "roiBack": "960,285,60,50",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "第二组切换"
+  },
+  {
+    "itemName": "sou_switch_3_10",
+    "imageName": "sk10_sou_switch_3_10.png",
+    "roiFront": "980,450,25,27",
+    "roiBack": "960,442,60,50",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "第三组切换"
+  },
+  {
+    "itemName": "sou_switch_4_10",
+    "imageName": "sk10_sou_switch_4_10.png",
+    "roiFront": "979,602,25,27",
+    "roiBack": "960,592,60,50",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "第四组切换"
+  },
+  {
+    "itemName": "sou_switch_sure_10",
+    "imageName": "sk10_sou_switch_sure_10.png",
+    "roiFront": "669,401,190,61",
+    "roiBack": "669,401,190,61",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "确认切换"
+  },
+  {
+    "itemName": "sou_check_in_10",
+    "imageName": "sk10_sou_check_in_10.png",
+    "roiFront": "277,79,34,36",
+    "roiBack": "265,71,60,50",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "用于判断是否在式神录里面"
+  },
+  {
+    "itemName": "sou_check_group_1_10",
+    "imageName": "sk10_sou_check_group_1_10.png",
+    "roiFront": "1096,80,25,56",
+    "roiBack": "1096,80,25,56",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "检查是否为第一组"
+  },
+  {
+    "itemName": "sou_check_group_2_10",
+    "imageName": "sk10_sou_check_group_2_10.png",
+    "roiFront": "1098,150,25,60",
+    "roiBack": "1098,150,25,60",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "检查是否为第二组"
+  },
+  {
+    "itemName": "sou_check_group_3_10",
+    "imageName": "sk10_sou_check_group_3_10.png",
+    "roiFront": "1096,219,25,60",
+    "roiBack": "1096,219,25,60",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "检查是否为第三组"
+  },
+  {
+    "itemName": "sou_check_group_4_10",
+    "imageName": "sk10_sou_check_group_4_10.png",
+    "roiFront": "1096,288,25,60",
+    "roiBack": "1096,288,25,60",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "检查是否为第四组"
+  },
+  {
+    "itemName": "sou_check_group_5_10",
+    "imageName": "sk10_sou_check_group_5_10.png",
+    "roiFront": "1096,356,25,60",
+    "roiBack": "1096,356,25,60",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "检查是否为第五组"
+  },
+  {
+    "itemName": "sou_check_group_6_10",
+    "imageName": "sk10_sou_check_group_6_10.png",
+    "roiFront": "1094,428,25,60",
+    "roiBack": "1094,428,25,60",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "检查是否为第六组"
+  },
+  {
+    "itemName": "sou_check_group_7_10",
+    "imageName": "sk10_sou_check_group_7_10.png",
+    "roiFront": "1095,496,25,60",
+    "roiBack": "1095,496,25,60",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "检查是否为第七组"
+  },
+  {
+    "itemName": "sou_team_present_10",
+    "imageName": "sk10_sou_team_present_10.png",
+    "roiFront": "720,76,112,35",
+    "roiBack": "706,69,175,63",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "匹配队伍预设"
+  },
+  {
+    "itemName": "sou_click_present_10",
+    "imageName": "sk10_sou_click_present_10.png",
+    "roiFront": "980,294,25,27",
+    "roiBack": "965,132,49,500",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "需要切换的预设按钮(颜色深一点)"
+  },
+  {
+    "itemName": "st_souls_10",
+    "imageName": "sk10_st_souls_10.png",
+    "roiFront": "1196,234,33,65",
+    "roiBack": "1170,220,70,90",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "选中的御魂"
+  },
+  {
+    "itemName": "st_replace_10",
+    "imageName": "sk10_st_replace_10.png",
+    "roiFront": "878,224,63,39",
+    "roiBack": "855,175,110,130",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "更换"
+  }
+]

BIN
tasks/Component/CostumeShikigami/sk10/sk10_check_records_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_record_soul_back_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_1_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_2_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_3_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_4_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_5_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_6_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_check_group_7_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_check_in_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_click_present_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_1_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_2_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_3_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_4_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_switch_sure_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_sou_team_present_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_soul_preset_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_st_replace_10.png


BIN
tasks/Component/CostumeShikigami/sk10/sk10_st_souls_10.png


+ 182 - 0
tasks/Component/CostumeShikigami/sk9/image.json

@@ -0,0 +1,182 @@
+[
+  {
+    "itemName": "check_records_9",
+    "imageName": "sk9_check_records_9.png",
+    "roiFront": "276,79,34,36",
+    "roiBack": "265,71,60,50",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "用于判断在式神录"
+  },
+  {
+    "itemName": "record_soul_back_9",
+    "imageName": "sk9_record_soul_back_9.png",
+    "roiFront": "19,9,51,44",
+    "roiBack": "19,9,51,44",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "退出式神录"
+  },
+  {
+    "itemName": "soul_preset_9",
+    "imageName": "sk9_soul_preset_9.png",
+    "roiFront": "342,82,73,36",
+    "roiBack": "310,57,169,72",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "预设"
+  },
+  {
+    "itemName": "sou_switch_1_9",
+    "imageName": "sk9_sou_switch_1_9.png",
+    "roiFront": "979,141,25,27",
+    "roiBack": "960,131,60,50",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "第一组切换"
+  },
+  {
+    "itemName": "sou_switch_2_9",
+    "imageName": "sk9_sou_switch_2_9.png",
+    "roiFront": "980,296,25,27",
+    "roiBack": "960,285,60,50",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "第二组切换"
+  },
+  {
+    "itemName": "sou_switch_3_9",
+    "imageName": "sk9_sou_switch_3_9.png",
+    "roiFront": "980,450,25,27",
+    "roiBack": "960,442,60,50",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "第三组切换"
+  },
+  {
+    "itemName": "sou_switch_4_9",
+    "imageName": "sk9_sou_switch_4_9.png",
+    "roiFront": "979,602,25,27",
+    "roiBack": "960,592,60,50",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "第四组切换"
+  },
+  {
+    "itemName": "sou_switch_sure_9",
+    "imageName": "sk9_sou_switch_sure_9.png",
+    "roiFront": "669,401,190,61",
+    "roiBack": "669,401,190,61",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "确认切换"
+  },
+  {
+    "itemName": "sou_check_in_9",
+    "imageName": "sk9_sou_check_in_9.png",
+    "roiFront": "277,79,34,36",
+    "roiBack": "265,71,60,50",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "用于判断是否在式神录里面"
+  },
+  {
+    "itemName": "sou_check_group_1_9",
+    "imageName": "sk9_sou_check_group_1_9.png",
+    "roiFront": "1096,80,25,56",
+    "roiBack": "1096,80,25,56",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "检查是否为第一组"
+  },
+  {
+    "itemName": "sou_check_group_2_9",
+    "imageName": "sk9_sou_check_group_2_9.png",
+    "roiFront": "1098,150,25,60",
+    "roiBack": "1098,150,25,60",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "检查是否为第二组"
+  },
+  {
+    "itemName": "sou_check_group_3_9",
+    "imageName": "sk9_sou_check_group_3_9.png",
+    "roiFront": "1096,219,25,60",
+    "roiBack": "1096,219,25,60",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "检查是否为第三组"
+  },
+  {
+    "itemName": "sou_check_group_4_9",
+    "imageName": "sk9_sou_check_group_4_9.png",
+    "roiFront": "1096,288,25,60",
+    "roiBack": "1096,288,25,60",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "检查是否为第四组"
+  },
+  {
+    "itemName": "sou_check_group_5_9",
+    "imageName": "sk9_sou_check_group_5_9.png",
+    "roiFront": "1096,356,25,60",
+    "roiBack": "1096,356,25,60",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "检查是否为第五组"
+  },
+  {
+    "itemName": "sou_check_group_6_9",
+    "imageName": "sk9_sou_check_group_6_9.png",
+    "roiFront": "1094,428,25,60",
+    "roiBack": "1094,428,25,60",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "检查是否为第六组"
+  },
+  {
+    "itemName": "sou_check_group_7_9",
+    "imageName": "sk9_sou_check_group_7_9.png",
+    "roiFront": "1095,496,25,60",
+    "roiBack": "1095,496,25,60",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "检查是否为第七组"
+  },
+  {
+    "itemName": "sou_team_present_9",
+    "imageName": "sk9_sou_team_preset_9.png",
+    "roiFront": "720,76,112,35",
+    "roiBack": "706,69,175,63",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "匹配队伍预设"
+  },
+  {
+    "itemName": "sou_click_present_9",
+    "imageName": "sk9_sou_click_present_9.png",
+    "roiFront": "980,294,25,27",
+    "roiBack": "965,132,49,500",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "需要切换的预设按钮(颜色深一点)"
+  },
+  {
+    "itemName": "st_souls_9",
+    "imageName": "sk9_st_souls_9.png",
+    "roiFront": "1196,234,33,65",
+    "roiBack": "1170,220,70,90",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "选中的御魂"
+  },
+  {
+    "itemName": "st_replace_9",
+    "imageName": "sk9_st_replace_9.png",
+    "roiFront": "878,224,63,39",
+    "roiBack": "855,175,110,130",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "更换"
+  }
+]

BIN
tasks/Component/CostumeShikigami/sk9/sk9_check_records_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_record_soul_back_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_1_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_2_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_3_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_4_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_5_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_6_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_check_group_7_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_check_in_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_click_present_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_1_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_2_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_3_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_4_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_switch_sure_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_sou_team_preset_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_soul_preset_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_st_replace_9.png


BIN
tasks/Component/CostumeShikigami/sk9/sk9_st_souls_9.png