mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
Fix: ocr scan chinese '方相果实' to replace '万相果实' (#572)
Co-authored-by: LmeSzinc <lmeszincsales@gmail.com>
This commit is contained in:
parent
91f1a8e605
commit
df22d61aaa
@ -23,6 +23,7 @@ DETAIL_TITLE.load_search(RESULT_CHECK.search)
|
||||
|
||||
class OcrItemName(Ocr):
|
||||
def after_process(self, result):
|
||||
result = result.replace('方相果实', '万相果实')
|
||||
result = result.replace('念火之心', '忿火之心')
|
||||
result = re.sub('^火之心', '忿火之心', result)
|
||||
result = re.sub('工造机$', '工造机杼', result)
|
||||
|
Loading…
Reference in New Issue
Block a user