@@ -12,48 +12,66 @@ class FrogBossAssets:
1212
1313 # Image Rule Assets
1414 # 左边竞猜
15- I_BET_LEFT = RuleImage (roi_front = (95 , 308 , 145 , 100 ), roi_back = (58 , 248 ,245 ,195 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_bet_left.png" )
15+ I_BET_LEFT = RuleImage (roi_front = (288 , 301 , 120 , 102 ), roi_back = (222 , 251 ,245 ,195 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_bet_left.png" )
1616 # 右边竞猜
17- I_BET_RIGHT = RuleImage (roi_front = (1038 , 303 , 146 , 100 ), roi_back = (1012 , 268 ,187 ,208 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_bet_right.png" )
17+ I_BET_RIGHT = RuleImage (roi_front = (1093 , 307 , 118 , 94 ), roi_back = (1048 , 248 ,187 ,208 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_bet_right.png" )
1818 # description
19- I_BET_SUCCESS_BOX = RuleImage (roi_front = (593 , 419 , 87 , 50 ), roi_back = (564 , 378 , 140 , 133 ), threshold = 0.75 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_bet_success_box.png" )
19+ I_BET_SUCCESS_BOX = RuleImage (roi_front = (713 , 399 , 80 , 45 ), roi_back = (661 , 331 , 193 , 182 ), threshold = 0.75 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_bet_success_box.png" )
2020 # 左边赢了
21- I_SUCCESS_LEFT = RuleImage (roi_front = (123 , 316 ,100 ,100 ), roi_back = (91 , 254 ,202 ,221 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_success_left.png" )
21+ I_SUCCESS_LEFT = RuleImage (roi_front = (292 , 306 ,100 ,100 ), roi_back = (238 , 243 ,202 ,221 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_success_left.png" )
2222 # 右边输了
23- I_FAILURE_RIGHT = RuleImage (roi_front = (1063 , 291 ,100 ,100 ), roi_back = (993 , 242 ,224 ,199 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_failure_right.png" )
24- # description
25- I_NEXT_COMPETITION = RuleImage (roi_front = (673 , 510 , 42 , 36 ), roi_back = (658 , 488 , 91 , 98 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_next_competition.png" )
23+ I_FAILURE_RIGHT = RuleImage (roi_front = (1097 , 303 ,100 ,100 ), roi_back = (1029 , 256 ,224 ,199 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_failure_right.png" )
24+ # 开始下一局
25+ I_NEXT_COMPETITION = RuleImage (roi_front = (783 , 492 , 28 , 22 ), roi_back = (692 , 437 , 157 , 147 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_next_competition.png" )
2626 # 30万金币
27- I_GOLD_30 = RuleImage (roi_front = (858 , 494 ,78 ,76 ), roi_back = (809 , 427 ,147 ,187 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_gold_30.png" )
27+ I_GOLD_30 = RuleImage (roi_front = (862 , 499 ,78 ,76 ), roi_back = (831 , 441 ,147 ,187 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_gold_30.png" )
2828 # 确认竞猜
29- I_BET_SURE = RuleImage (roi_front = (1025 ,402 ,100 ,100 ), roi_back = (1000 , 297 ,200 ,226 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_bet_sure.png" )
30- # description
31- I_GOLD_30_CHECK = RuleImage (roi_front = (513 ,196 ,58 ,53 ), roi_back = (402 , 141 , 459 , 489 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_gold_30_check.png" )
29+ I_BET_SURE = RuleImage (roi_front = (1025 ,402 ,100 ,100 ), roi_back = (972 , 340 ,200 ,226 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_bet_sure.png" )
30+ # 获胜奖励说明弹窗中的竞猜金币
31+ I_GOLD_30_CHECK = RuleImage (roi_front = (513 ,196 ,58 ,53 ), roi_back = (495 , 195 , 104 , 111 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_gold_30_check.png" )
3232 # description
33- I_BETTED = RuleImage (roi_front = (93 , 352 ,125 ,54 ), roi_back = (49 , 283 , 1192 , 161 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_betted.png" )
33+ I_BETTED = RuleImage (roi_front = (1093 , 313 ,125 ,54 ), roi_back = (207 , 240 , 1058 , 312 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_betted.png" )
3434 # description
35- I_SUCCESS_RIGHT = RuleImage (roi_front = (1048 , 341 ,122 ,116 ), roi_back = (999 , 243 ,201 ,260 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_success_right.png" )
35+ I_SUCCESS_RIGHT = RuleImage (roi_front = (1098 , 289 ,122 ,116 ), roi_back = (1040 , 250 ,201 ,260 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_success_right.png" )
3636 # description
37- I_FAILURE_LEFT = RuleImage (roi_front = (116 , 307 ,100 ,100 ), roi_back = (76 , 256 , 193 , 219 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_failure_left.png" )
37+ I_FAILURE_LEFT = RuleImage (roi_front = (296 , 303 ,100 ,100 ), roi_back = (243 , 245 , 212 , 259 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_failure_left.png" )
3838 # description
39- I_BET_FAILURE = RuleImage (roi_front = (496 , 252 ,269 ,72 ), roi_back = (439 , 220 , 400 , 152 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_bet_failure.png" )
39+ I_BET_FAILURE = RuleImage (roi_front = (625 , 277 ,269 ,72 ), roi_back = (496 , 222 , 447 , 211 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_bet_failure.png" )
4040 # description
41- I_BET_SUCCESS = RuleImage (roi_front = (512 , 264 ,260 ,73 ), roi_back = (433 , 214 , 418 , 151 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_bet_success.png" )
41+ I_BET_SUCCESS = RuleImage (roi_front = (625 , 278 ,260 ,73 ), roi_back = (482 , 243 , 521 , 225 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_bet_success.png" )
4242
4343
4444 # Image Rule Assets
4545 # description
46- I_FROG_BOSS_ENTER = RuleImage (roi_front = (1191 , 391 ,36 ,38 ), roi_back = (1174 , 135 ,78 ,320 ), threshold = 0.7 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_frog_boss_enter.png" )
46+ I_FROG_BOSS_ENTER = RuleImage (roi_front = (1188 , 303 ,36 ,38 ), roi_back = (1169 , 203 ,78 ,320 ), threshold = 0.7 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_frog_boss_enter.png" )
4747 # 休息中
48- I_FROG_BOSS_REST = RuleImage (roi_front = (510 ,274 ,169 ,64 ), roi_back = (492 ,260 ,220 ,113 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_frog_boss_rest.png" )
48+ I_FROG_BOSS_REST = RuleImage (roi_front = (627 ,284 ,169 ,64 ), roi_back = (601 ,259 ,220 ,113 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_frog_boss_rest.png" )
49+ # 竞猜主页面
50+ I_FROG_CHECK = RuleImage (roi_front = (664 ,31 ,148 ,65 ), roi_back = (551 ,4 ,371 ,145 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_frog_check.png" )
51+ # 进入记录页面
52+ I_FROG_LOG = RuleImage (roi_front = (1171 ,624 ,43 ,41 ), roi_back = (1157 ,601 ,83 ,89 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_frog_log.png" )
53+ #
54+ I_FROG_LOG_CHECK = RuleImage (roi_front = (549 ,31 ,192 ,52 ), roi_back = (469 ,0 ,371 ,145 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_frog_log_check.png" )
55+ # 上一局胜
56+ I_FROG_LAST_WIN = RuleImage (roi_front = (178 ,210 ,61 ,49 ), roi_back = (148 ,147 ,114 ,123 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_frog_last_win.png" )
57+ # 上一局败
58+ I_FROG_LAST_LOSE = RuleImage (roi_front = (178 ,210 ,61 ,49 ), roi_back = (148 ,147 ,114 ,123 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_frog_last_lose.png" )
59+ # 关闭记录
60+ I_FROG_LOG_CLOSE = RuleImage (roi_front = (1188 ,99 ,43 ,41 ), roi_back = (1166 ,73 ,83 ,89 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_frog_log_close.png" )
61+ # 上一局选择红色
62+ I_FROG_LAST_SELECT_RED = RuleImage (roi_front = (342 ,149 ,36 ,38 ), roi_back = (327 ,120 ,70 ,77 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_frog_last_select_red.png" )
63+ # 上一句选择蓝色
64+ I_FROG_LAST_SELECT_BLUE = RuleImage (roi_front = (342 ,149 ,36 ,38 ), roi_back = (327 ,120 ,70 ,77 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/FrogBoss/fb/fb_frog_last_select_blue.png" )
4965
5066
5167 # Ocr Rule Assets
5268 # Ocr-description
53- O_LEFT_COUNT = RuleOcr (roi = (143 , 496 ,69 ,31 ), area = (143 , 496 ,69 ,31 ), mode = "Digit" , method = "Default" , keyword = "" , name = "left_count" )
69+ O_LEFT_COUNT = RuleOcr (roi = (326 , 469 ,69 ,31 ), area = (326 , 469 ,69 ,31 ), mode = "Digit" , method = "Default" , keyword = "" , name = "left_count" )
5470 # Ocr-description
55- O_RIGHT_COUNT = RuleOcr (roi = (1105 , 497 ,77 ,32 ), area = (1105 , 497 ,77 ,32 ), mode = "Digit" , method = "Default" , keyword = "" , name = "right_count" )
71+ O_RIGHT_COUNT = RuleOcr (roi = (1139 , 472 ,77 ,32 ), area = (1139 , 472 ,77 ,32 ), mode = "Digit" , method = "Default" , keyword = "" , name = "right_count" )
5672 # Ocr-description
57- O_TIME_REMAIN = RuleOcr (roi = (594 ,564 ,91 ,35 ), area = (594 ,564 ,91 ,35 ), mode = "Duration" , method = "Default" , keyword = "" , name = "time_remain" )
73+ O_TIME_REMAIN = RuleOcr (roi = (705 ,533 ,91 ,35 ), area = (705 ,533 ,91 ,35 ), mode = "Duration" , method = "Default" , keyword = "" , name = "time_remain" )
74+ # 上一句对局时间
75+ O_FROG_LAST_TIME = RuleOcr (roi = (120 ,154 ,160 ,30 ), area = (120 ,154 ,160 ,30 ), mode = "Single" , method = "Default" , keyword = "" , name = "frog_last_time" )
5876
5977
0 commit comments