mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-13 11:27:01 +08:00
Opt: Points and Lines class no longer require config
This commit is contained in:
@@ -168,7 +168,7 @@ class RewardTacticalClass(UI):
|
||||
mask = color_similarity_2d(self.image_area(area), color=(255, 255, 255)) > 235
|
||||
points = np.array(np.where(mask)).T
|
||||
# Width of card is 200 px
|
||||
points = Points(points, config=self.config).group(threshold=210)
|
||||
points = Points(points).group(threshold=210)
|
||||
card = len(points)
|
||||
if card == 0:
|
||||
logger.warning('No student card found.')
|
||||
|
||||
Reference in New Issue
Block a user