|
@@ -5,7 +5,7 @@ from module.atom.swipe import RuleSwipe
|
|
|
from module.atom.ocr import RuleOcr
|
|
from module.atom.ocr import RuleOcr
|
|
|
from module.atom.list import RuleList
|
|
from module.atom.list import RuleList
|
|
|
|
|
|
|
|
-# This file was automatically generated by module/dev_tools/assets_extract.py.
|
|
|
|
|
|
|
+# This file was automatically generated by ./dev_tools/assets_extract.py.
|
|
|
# Don't modify it manually.
|
|
# Don't modify it manually.
|
|
|
class RealmRaidAssets:
|
|
class RealmRaidAssets:
|
|
|
|
|
|
|
@@ -14,17 +14,17 @@ class RealmRaidAssets:
|
|
|
# 点击结界突破的图片
|
|
# 点击结界突破的图片
|
|
|
I_REALM_RAID = RuleImage(roi_front=(246,628,63,64), roi_back=(246,628,63,64), threshold=0.8, method="Template matching", file="./tasks/RealmRaid/res/res_realm_raid.png")
|
|
I_REALM_RAID = RuleImage(roi_front=(246,628,63,64), roi_back=(246,628,63,64), threshold=0.8, method="Template matching", file="./tasks/RealmRaid/res/res_realm_raid.png")
|
|
|
# 五个勋章
|
|
# 五个勋章
|
|
|
- I_MEDAL_5 = RuleImage(roi_front=(238,205,212,53), roi_back=(216,187,919,364), threshold=0.9, method="Template matching", file="./tasks/RealmRaid/res/res_medal_5.png")
|
|
|
|
|
|
|
+ I_MEDAL_5 = RuleImage(roi_front=(238,205,212,53), roi_back=(216,187,919,364), threshold=0.8, method="Template matching", file="./tasks/RealmRaid/res/res_medal_5.png")
|
|
|
# description
|
|
# description
|
|
|
- I_MEDAL_4 = RuleImage(roi_front=(241,483,193,46), roi_back=(228,178,899,362), threshold=0.9, method="Template matching", file="./tasks/RealmRaid/res/res_medal_4.png")
|
|
|
|
|
|
|
+ I_MEDAL_4 = RuleImage(roi_front=(241,483,193,46), roi_back=(228,178,899,362), threshold=0.8, method="Template matching", file="./tasks/RealmRaid/res/res_medal_4.png")
|
|
|
# description
|
|
# description
|
|
|
- I_MEDAL_3 = RuleImage(roi_front=(240,210,193,41), roi_back=(229,189,894,345), threshold=0.9, method="Template matching", file="./tasks/RealmRaid/res/res_medal_3.png")
|
|
|
|
|
|
|
+ I_MEDAL_3 = RuleImage(roi_front=(240,210,193,41), roi_back=(229,189,894,345), threshold=0.8, method="Template matching", file="./tasks/RealmRaid/res/res_medal_3.png")
|
|
|
# description
|
|
# description
|
|
|
- I_MEDAL_2 = RuleImage(roi_front=(572,478,198,48), roi_back=(217,193,923,354), threshold=0.9, method="Template matching", file="./tasks/RealmRaid/res/res_medal_2.png")
|
|
|
|
|
|
|
+ I_MEDAL_2 = RuleImage(roi_front=(572,478,198,48), roi_back=(217,193,923,354), threshold=0.8, method="Template matching", file="./tasks/RealmRaid/res/res_medal_2.png")
|
|
|
# description
|
|
# description
|
|
|
- I_MEDAL_1 = RuleImage(roi_front=(570,206,199,52), roi_back=(237,198,892,336), threshold=0.9, method="Template matching", file="./tasks/RealmRaid/res/res_medal_1.png")
|
|
|
|
|
|
|
+ I_MEDAL_1 = RuleImage(roi_front=(570,206,199,52), roi_back=(237,198,892,336), threshold=0.8, method="Template matching", file="./tasks/RealmRaid/res/res_medal_1.png")
|
|
|
# 没有勋章的
|
|
# 没有勋章的
|
|
|
- I_MEDAL_0 = RuleImage(roi_front=(510,336,202,51), roi_back=(231,200,898,336), threshold=0.9, method="Template matching", file="./tasks/RealmRaid/res/res_medal_0.png")
|
|
|
|
|
|
|
+ I_MEDAL_0 = RuleImage(roi_front=(510,336,202,51), roi_back=(231,200,898,336), threshold=0.8, method="Template matching", file="./tasks/RealmRaid/res/res_medal_0.png")
|
|
|
# 右上角红色的关闭
|
|
# 右上角红色的关闭
|
|
|
I_BACK_RED = RuleImage(roi_front=(1178,101,57,64), roi_back=(1178,101,57,64), threshold=0.8, method="Template matching", file="./tasks/RealmRaid/res/res_back_red.png")
|
|
I_BACK_RED = RuleImage(roi_front=(1178,101,57,64), roi_back=(1178,101,57,64), threshold=0.8, method="Template matching", file="./tasks/RealmRaid/res/res_back_red.png")
|
|
|
# 没有锁的状态图标
|
|
# 没有锁的状态图标
|
|
@@ -47,6 +47,8 @@ class RealmRaidAssets:
|
|
|
I_LOCK_2 = RuleImage(roi_front=(1002,645,34,38), roi_back=(1002,645,34,38), threshold=0.9, method="Template matching", file="./tasks/RealmRaid/res/res_lock_2.png")
|
|
I_LOCK_2 = RuleImage(roi_front=(1002,645,34,38), roi_back=(1002,645,34,38), threshold=0.9, method="Template matching", file="./tasks/RealmRaid/res/res_lock_2.png")
|
|
|
# description
|
|
# description
|
|
|
I_MEDAL_5_FROG = RuleImage(roi_front=(903,479,201,49), roi_back=(189,182,967,376), threshold=0.8, method="Template matching", file="./tasks/RealmRaid/res/res_medal_5_frog.png")
|
|
I_MEDAL_5_FROG = RuleImage(roi_front=(903,479,201,49), roi_back=(189,182,967,376), threshold=0.8, method="Template matching", file="./tasks/RealmRaid/res/res_medal_5_frog.png")
|
|
|
|
|
+ # 3徽章新图2号
|
|
|
|
|
+ I_MEDAL_3_2 = RuleImage(roi_front=(575,489,188,32), roi_back=(575,489,188,32), threshold=0.8, method="Template matching", file="./tasks/RealmRaid/res/res_medal_3_2.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Ocr Rule Assets
|
|
# Ocr Rule Assets
|