mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 02:48:23 +08:00
Opt: Points and Lines class no longer require config
This commit is contained in:
@@ -86,7 +86,7 @@ class CampaignOcr(ModuleBase):
|
||||
digits = []
|
||||
stage_image = image if stage_image is None else stage_image
|
||||
result = template.match_multi(stage_image, similarity=0.85)
|
||||
result = Points(result, config=self.config).group()
|
||||
result = Points(result).group()
|
||||
|
||||
for point in result:
|
||||
button = tuple(np.append(point, point + template.size))
|
||||
|
||||
Reference in New Issue
Block a user