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)