1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 12:08:21 +08:00

Opt: Points and Lines class no longer require config

This commit is contained in:
LmeSzinc
2021-06-30 14:11:04 +08:00
parent cf5bfbc9a7
commit f94f3ce955
8 changed files with 46 additions and 47 deletions

View File

@@ -51,8 +51,8 @@ class RewardDorm(UI):
out: page_dorm, with info_bar
"""
image = MASK_DORM.apply(np.array(self.device.image))
love_points = Points(TEMPLATE_DORM_LOVE.match_multi(image), config=self.config).group()
coin_points = Points(TEMPLATE_DORM_COIN.match_multi(image), config=self.config).group()
love_points = Points(TEMPLATE_DORM_LOVE.match_multi(image)).group()
coin_points = Points(TEMPLATE_DORM_COIN.match_multi(image)).group()
logger.info(f'Dorm loves: {len(love_points)}, Dorm coins: {len(coin_points)}')
count = 0