Fix: [CN] OCR error on Stagnant_Shadow_Scorch (#165)

This commit is contained in:
LmeSzinc 2023-10-17 12:45:12 +08:00
parent d3bf9a808c
commit 848a9e2499

View File

@ -1,3 +1,5 @@
import re
import numpy as np
from module.base.base import ModuleBase
@ -72,6 +74,7 @@ class OcrDungeonList(Ocr):
result = result.replace('皖A0', '50').replace('', '')
# 燔灼之形•凝滞虚影
result = result.replace('', '')
result = re.sub('^灼之形', '燔灼之形', result)
return result