mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 08:37:42 +00:00
Fix: [CN] OCR error on Stagnant_Shadow_Scorch (#165)
This commit is contained in:
parent
d3bf9a808c
commit
848a9e2499
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user