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

Opt: fix battle logic for A maps in ISSS event

This commit is contained in:
whoamikyo
2020-07-20 13:46:33 -03:00
parent bc7b8175db
commit ef180bef69
2 changed files with 4 additions and 4 deletions

View File

@@ -64,6 +64,10 @@ class Ocr:
"""
image = extract_letters(image, letter=self.letter, threshold=self.threshold)
# un-comment to see the image feed to ocr model
# Image.fromarray(image.astype('uint8')).show()
return image.astype(np.uint8)
def after_process(self, result):