From 78fcf9c356f1127ec4e63fefe72e0b2d4e0b1b98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Wed, 14 Aug 2024 16:13:41 +0800 Subject: [PATCH] Update weixinocr.py --- LunaTranslator/LunaTranslator/ocrengines/weixinocr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/ocrengines/weixinocr.py b/LunaTranslator/LunaTranslator/ocrengines/weixinocr.py index d20c1513..aa463f01 100644 --- a/LunaTranslator/LunaTranslator/ocrengines/weixinocr.py +++ b/LunaTranslator/LunaTranslator/ocrengines/weixinocr.py @@ -117,4 +117,4 @@ class OCR(baseocr): if not globalonce: raise Exception - return self.common_solve_text_orientation(globalonce.ocr(imagebinary)) + return self.common_solve_text_orientation(*globalonce.ocr(imagebinary))