mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Opt: fix battle logic for A maps in ISSS event
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user