0
0
mirror of https://github.com/ok-oldking/ok-wuthering-waves.git synced 2025-06-02 00:45:25 +00:00

修复中英文翻译

GPU版本自动开启OCR
This commit is contained in:
firedcto@gmail.com 2024-09-10 14:26:18 +08:00
parent c94c9b9b82
commit 81b867f99f
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -41,7 +41,7 @@ class BaseWWTask(BaseTask, FindFeature, OCR):
return True, None
def absorb_echo_text(self, ignore_config=False):
if (self.pick_echo_config.get('Use OCR') or ignore_config) and (
if (self.pick_echo_config.get('Use OCR') or self.ocr_lib == 'paddleocr' or ignore_config) and (
self.game_lang == 'zh_CN' or self.game_lang == 'en_US'):
return re.compile(r'(吸收|Absorb)')
else: