From bfad6eac0932e04dafeb2a3b618ba5c9b2ab0516 Mon Sep 17 00:00:00 2001 From: awinx Date: Thu, 16 Jan 2025 09:55:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8D=95=E7=9A=84=E6=96=87=E5=AD=97?= =?UTF-8?q?=E8=AF=86=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pinPicture.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pinPicture.py b/pinPicture.py index fc16455..1ba3d60 100644 --- a/pinPicture.py +++ b/pinPicture.py @@ -301,6 +301,6 @@ class PinPicture(tk.Frame): self.reader = easyocr.Reader(['ch_sim', 'en']) result = self.reader.readtext(np.array(self.image), detail=0) text = '' - for str in result: - text += str + for words in result: + text += words print (text)