Commit Graph

194 Commits

Author SHA1 Message Date
LmeSzinc
42b4eb38b7 Opt: [ALAS] Match luma template in match_template_color
This is an untested change
2024-12-27 02:57:08 +08:00
LmeSzinc
48e4c78a43 Fix: Default color match threshold should be the original value
COLOR_SIMILAR_THRESHOLD
2024-12-11 11:46:23 +08:00
LmeSzinc
ba5b853cb9 Refactor: Standardize the use of match_template_color() 2024-12-09 16:09:34 +08:00
LmeSzinc
164db6f4da Chore: Rename "threshold" in template matching to "similarity"
to be differ from the "threshold" in color matching
2024-12-09 15:37:25 +08:00
LmeSzinc
34eb6c481e Fix: color_bar_percentage should get prev_color from similar color
not average
2024-09-25 14:29:49 +08:00
LmeSzinc
b6fd913b56 Add: [ALAS] set_cached_property 2024-07-12 01:45:26 +08:00
霞飛
0b97b40c46
Feature: New OpsiShop. (#3086)
* feat: New OpsiShop

* fix: use AdaptiveScroll

* feat: scan counter

* perf: calculate y value
2024-06-17 11:24:40 +08:00
LmeSzinc
a668840ee9 Pref: Faster is_combat_loading() 2024-06-05 02:24:47 +08:00
LmeSzinc
58202c6a40 Pref: Reuse image array to improve memory performance 2024-06-05 01:15:41 +08:00
LmeSzinc
5f56a2bdb7 Chore: [ALAS] Move func methods to the Alas class 2024-05-30 13:34:24 +08:00
LmeSzinc
66f66c998d Add: Sync get_interval_timer 2024-05-23 01:44:49 +08:00
LmeSzinc
ecfd5d50bf Upd: [CN] Support UI in 2024.05.21 2024-05-23 01:16:41 +08:00
LmeSzinc
28b452164f Pref: Release rpc connection on idle so OCR can be load balanced 2024-05-09 02:57:45 +08:00
LmeSzinc
a59f82225c Opt: [ALAS] Replace cv2.multiply with cv2.convertScaleAbs for faster 2024-05-02 17:41:02 +08:00
LmeSzinc
44c4ccc240 Opt: [ALAS] Improve memory performance in utils 2024-04-30 17:42:56 +08:00
LmeSzinc
31da8d42a1 Opt: Early init minitouch and MaaTouch for faster startup 2024-04-15 03:48:37 +08:00
LmeSzinc
16ba4aaad6 Chore: Poorly search mxnet-cu* instead of using pkg_resources 2024-04-15 02:55:06 +08:00
LmeSzinc
8ee4405d49 Add: [ALAS] Add background worker 2024-04-13 23:32:13 +08:00
LmeSzinc
43bdc7e610 Opt: Add early_ocr_import for faster mxnet import 2024-04-13 22:48:12 +08:00
LmeSzinc
1dad0031f1 Add: Argument scaling in Template.match_multi() 2023-11-10 12:00:08 +08:00
LmeSzinc
d28f43061e Opt: Faster image_color_count() 2023-09-21 10:28:56 +08:00
LmeSzinc
e30914c83b Fix: Unicode characters similar to ">" (#3027) 2023-08-19 23:29:13 +08:00
LmeSzinc
6a7de8fc76 Add: [ALAS] Utility func image_paste() and get_bbox_reversed() 2023-08-03 00:52:40 +08:00
LmeSzinc
11d094c025 Fix: [ALAS] Handle None in interval_clear() 2023-07-02 15:20:37 +08:00
LmeSzinc
64f4f72c01 Fix: [ALAS] Remove the use of np.float 2023-07-02 15:20:34 +08:00
LmeSzinc
18cba1f9d0 Chore: Remove the use of np.int 2023-05-30 10:28:51 +08:00
LmeSzinc
4f761b1e6f Upd: ALAS framework updates 2023-05-16 09:11:46 +08:00
LmeSzinc
456f8ea275 Fix: Allow negative values in location2node() (#2446) 2023-04-15 22:19:31 +08:00
LmeSzinc
7261235cc4 Fix: [GIA] Sync utils functions to ALAS 2023-02-17 23:50:30 +08:00
18870
76fadbe777
Opt: Add type hint for cached_property 2023-02-08 16:39:42 +08:00
LmeSzinc
23c643ac5c Dev: Accept temporary serial for debugging 2023-02-08 01:42:07 +08:00
LmeSzinc
8d06ce4987 Fix: Handle Runtime error raised by uiautoamtor2 2023-02-07 19:20:16 +08:00
LmeSzinc
c3ee7c442e Refactor: enemy_searching_appear() using template matching 2023-01-29 14:48:56 +08:00
LmeSzinc
7ef2a823bd Fix: area_cross_area() (#1954, #1978) 2023-01-01 16:48:33 +08:00
Horizon101011
b4a5c4c1cc Opt: More accurate fleet scan 2022-10-30 11:48:08 +08:00
LmeSzinc
4dd2a5a8b5 Refactor: Move del_cached_property to module.base.decorator 2022-09-25 00:31:42 +08:00
LmeSzinc
8d53cb4e34 Opt: Minor code format 2022-09-10 01:01:46 +08:00
LmeSzinc
a55d07002a Fix: Button timer is reset or cleared before timer added 2022-09-10 00:29:51 +08:00
LmeSzinc
3eed7a0549 Upd: Research patches from azur-stats-server
(cherry picked from commit 2e43a157aa9314bd7e0209bfdf8204ef7c0730f0)
2022-08-16 00:31:02 +08:00
LmeSzinc
5e962e8948 Upd: Research patches from azur-stats-server
(cherry picked from commit f3428c8a0f19570536e20ea54be41f481a5408db)
2022-08-16 00:30:50 +08:00
LmeSzinc
6702ec234a Fix: Catch server hot fix and restart game immediately
- Pretty Timer print
2022-07-31 23:34:40 +08:00
LmeSzinc
a72b99ac8d Fix: Cannot use xpath in appear_then_click 2022-07-27 01:11:50 +08:00
LmeSzinc
46609c5557 Fix: Better research_queue_add() 2022-07-18 00:39:23 +08:00
LmeSzinc
bc88e56897 Fix: image_left_strip() returns an empty image because cropping outside 2022-07-13 00:52:19 +08:00
hgjazhgj
e779fd7e64 Fix: Misspelling & Line-end spaces 2022-06-25 20:04:45 +08:00
LmeSzinc
37c5c6f800 Opt: Avoid importing OCR models on client when UseOcrServer is enable 2022-06-22 19:32:25 +08:00
LmeSzinc
9e6028685f Fix: Detection of beacon data collected today 2022-06-10 01:58:24 +08:00
LmeSzinc
65d964b65e Fix: map_is_2x_book is in emotion calculation before map_get_info() 2022-06-09 23:24:51 +08:00
LmeSzinc
ee9cffbb2f Add: Scrolling medal shop list 2022-06-05 23:54:01 +08:00
LmeSzinc
d9332a7325 Add: Hierarchy button support 2022-05-01 22:10:40 +08:00