mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 22:08:20 +08:00
Opt: Points and Lines class no longer require config
This commit is contained in:
@@ -113,7 +113,7 @@ class GuildOperations(GuildBase):
|
||||
# Scan image and must have similarity greater than 0.85
|
||||
points = TEMPLATE_OPERATIONS_RED_DOT.match_multi(self.device.image.crop(detection_area))
|
||||
points += detection_area[:2]
|
||||
points = Points(points, config=self.config).group(threshold=5)
|
||||
points = Points(points).group(threshold=5)
|
||||
logger.info(f'Active operations found: {len(points)}')
|
||||
|
||||
return [point_to_entrance_1(point) for point in points], [point_to_entrance_2(point) for point in points]
|
||||
|
||||
Reference in New Issue
Block a user