| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- from module.atom.image import RuleImage
- from module.atom.click import RuleClick
- from module.atom.long_click import RuleLongClick
- from module.atom.swipe import RuleSwipe
- from module.atom.ocr import RuleOcr
- from module.atom.list import RuleList
- # This file was automatically generated by ./dev_tools/assets_extract.py.
- # Don't modify it manually.
- class OrochiAssets:
- # Image Rule Assets
- # 八级大蛇进入
- I_OROCHI = RuleImage(roi_front=(260,274,66,66), roi_back=(55,104,295,406), threshold=0.8, method="Template matching", file="./tasks/Orochi/o/o_orochi.png")
- # 组队
- I_FORM_TEAM = RuleImage(roi_front=(957,582,100,100), roi_back=(957,582,100,100), threshold=0.8, method="Template matching", file="./tasks/Orochi/o/o_form_team.png")
- # description
- I_OROCHI_LOCK = RuleImage(roi_front=(706,659,19,20), roi_back=(628,646,262,60), threshold=0.7, method="Template matching", file="./tasks/Orochi/o/o_orochi_lock.png")
- # description
- I_OROCHI_UNLOCK = RuleImage(roi_front=(707,659,15,18), roi_back=(624,645,271,59), threshold=0.7, method="Template matching", file="./tasks/Orochi/o/o_orochi_unlock.png")
- # 点击挑战
- I_OROCHI_FIRE = RuleImage(roi_front=(1133,584,110,59), roi_back=(1122,572,131,124), threshold=0.6, method="Template matching", file="./tasks/Orochi/o/o_orochi_fire.png")
- # 式神录
- I_SHI_RECORDS = RuleImage(roi_front=(842,569,48,45), roi_back=(842,569,48,45), threshold=0.8, method="Template matching", file="./tasks/Orochi/o/o_shi_records.png")
- # 小小宠物,发现宝藏
- I_PET_PRESENT = RuleImage(roi_front=(873,184,62,147), roi_back=(873,184,62,147), threshold=0.8, method="Template matching", file="./tasks/Orochi/o/o_pet_present.png")
- # List Rule Assets
- # 这个是御魂界面选择不同层数的
- L_LAYER_LIST = RuleList(folder="./tasks/Orochi/res", direction="vertical", mode="ocr", roi_back=(126,107,79,593), size=(78, 87),
- array=["壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖", "拾", "悲", "神", "虚"])
- # Ocr Rule Assets
- # Ocr-description
- O_O_TEST_OCR = RuleOcr(roi=(126,136,346,561), area=(126,136,346,561), mode="Full", method="Default", keyword="", name="o_test_ocr")
|