| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- 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 KittyShopAssets:
- # Click Rule Assets
- # description
- C_SELECT_1 = RuleClick(roi_front=(225,215,242,303), roi_back=(225,215,242,303), name="select_1")
- # description
- C_SELECT_2 = RuleClick(roi_front=(471,216,250,300), roi_back=(471,216,250,300), name="select_2")
- # description
- C_SELECT_3 = RuleClick(roi_front=(735,213,252,307), roi_back=(735,213,252,307), name="select_3")
- # description
- C_SELECT_4 = RuleClick(roi_front=(990,216,181,303), roi_back=(990,216,181,303), name="select_4")
- # description
- C_RUN_1 = RuleClick(roi_front=(240,571,154,143), roi_back=(240,571,154,143), name="run_1")
- # description
- C_RUN_2 = RuleClick(roi_front=(394,569,169,148), roi_back=(394,569,169,148), name="run_2")
- # description
- C_RUN_3 = RuleClick(roi_front=(563,567,171,141), roi_back=(563,567,171,141), name="run_3")
- # description
- C_RUN_4 = RuleClick(roi_front=(731,572,170,142), roi_back=(731,572,170,142), name="run_4")
- # description
- C_RUN_5 = RuleClick(roi_front=(900,571,165,136), roi_back=(900,571,165,136), name="run_5")
- # Image Rule Assets
- # 进入经营
- I_GO1 = RuleImage(roi_front=(350,136,46,185), roi_back=(315,76,100,342), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_go1.png")
- # 点击经营
- I_START_FARMING = RuleImage(roi_front=(1131,579,100,100), roi_back=(995,484,279,234), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_start_farming.png")
- # 开启
- I_START_ENSURE = RuleImage(roi_front=(1094,583,82,78), roi_back=(954,522,322,196), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_start_ensure.png")
- # 没有选择
- I_UNSELECTED = RuleImage(roi_front=(247,562,76,70), roi_back=(143,524,941,127), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_unselected.png")
- # 里面的
- I_MAIN_FLAG = RuleImage(roi_front=(13,102,61,50), roi_back=(1,34,279,247), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_main_flag.png")
- # 加号
- I_MAIN_ADD = RuleImage(roi_front=(159,178,46,50), roi_back=(125,50,1078,491), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_main_add.png")
- # 收菜按钮
- I_MAIN_GIFT = RuleImage(roi_front=(155,185,55,46), roi_back=(89,52,1184,506), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_main_gift.png")
- # 营业中,不可使用
- I_MAIN_BUSY = RuleImage(roi_front=(452,626,64,24), roi_back=(237,549,832,170), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_main_busy.png")
- # 结束后的分享
- I_MAIN_SHARE = RuleImage(roi_front=(1156,595,68,77), roi_back=(839,474,440,245), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_main_share.png")
- # 里面没有选猫咪
- I_MAIN_FLAG1 = RuleImage(roi_front=(1065,681,89,37), roi_back=(1065,681,89,37), threshold=0.95, method="Template matching", file="./tasks/KittyShop/ks/ks_main_flag1.png")
- # description
- I_MAIN_BUSY_1 = RuleImage(roi_front=(292,633,64,24), roi_back=(240,571,154,143), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_main_busy_1.png")
- # description
- I_MAIN_BUSY_2 = RuleImage(roi_front=(452,626,64,24), roi_back=(394,569,169,148), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_main_busy_2.png")
- # description
- I_MAIN_BUSY_3 = RuleImage(roi_front=(630,623,64,24), roi_back=(563,567,171,141), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_main_busy_3.png")
- # description
- I_MAIN_BUSY_4 = RuleImage(roi_front=(781,634,64,24), roi_back=(731,572,170,142), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_main_busy_4.png")
- # description
- I_MAIN_BUSY_5 = RuleImage(roi_front=(961,626,64,24), roi_back=(900,571,165,136), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_main_busy_5.png")
- # 结算
- I_MAIN_FINSH = RuleImage(roi_front=(764,16,52,42), roi_back=(740,1,100,100), threshold=0.8, method="Template matching", file="./tasks/KittyShop/ks/ks_main_finsh.png")
- # Swipe Rule Assets
- # description
- S_SELECTION = RuleSwipe(roi_front=(589,239,21,258), roi_back=(459,234,22,270), mode="default", name="selection")
|