Hi, i changed to codes (add -l eng) but it cant still read..
My results;
ait
> NaC]
> ere
> at
Codes ;
img = Image.open('test2.png')
text = pytesseract.image_to_string(img, config='-l eng')
print(text)
I dont understand what is the problem..
31 Mayıs 2020 Pazar 22:56:50 UTC+3 tarihinde Lorenzo Blz yazdı:
>
> Hi, first invert the image.
>
> $ tesseract -l eng test2.png -
> FUTLutz
>
> FUTSalkay
> FUTLovazin
> FUTRaum
>
>
> Also upscale the image to twice the size to get text height about 30/50
> pixels, this fixes the wrong letter.
>
>
> Lorenzo
>
> Il giorno dom 31 mag 2020 alle ore 21:19 Dtractus <[email protected]
> <javascript:>> ha scritto:
>
>> I think pytesseract cant read my image because of close letters.
>>
>>
>> img = Image.open('test2.png')
>> text = pytesseract.image_to_string(img)
>> print(text)
>> with open('file.txt', mode = 'w') as f:
>> f.write(text))
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "tesseract-ocr" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tesseract-ocr/2247dec4-8c66-4ecd-afc9-c4fea8bd86fb%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/tesseract-ocr/2247dec4-8c66-4ecd-afc9-c4fea8bd86fb%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
You received this message because you are subscribed to the Google Groups
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tesseract-ocr/8eb52fe5-e940-44d0-bf4a-069f9595c26a%40googlegroups.com.