mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-18 19:33:33 +08:00
Fix: handle island project name ocr error
This commit is contained in:
@@ -19,6 +19,7 @@ from module.ocr.ocr import Duration, Ocr
|
|||||||
class ProjectNameOcr(Ocr):
|
class ProjectNameOcr(Ocr):
|
||||||
def after_process(self, result):
|
def after_process(self, result):
|
||||||
result = super().after_process(result)
|
result = super().after_process(result)
|
||||||
|
result = result.replace('主', '丰')
|
||||||
result = re.sub(r'[^\u4e00-\u9fff]', '', result)
|
result = re.sub(r'[^\u4e00-\u9fff]', '', result)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user