Not a solution, but the image needs to be transformed into grayscaleetc,
(using Open CV) since OCR works best with grayed images and images which
have size of 300 dpi
On Tuesday, June 12, 2018 at 12:44:21 PM UTC+5:30, Vidur Malhotra wrote:
>
> I tried running the tesseract on the attached image. But not getting the
> desired output. My sample code:
>
>
> import PIL
> from PIL import Image
> import pytesseract
>
> text = pytesseract.image_to_string(Image.open('test3.jpg'), lang='eng')
> print(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].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tesseract-ocr/43a5a754-4227-43b6-aec1-0261403b2029%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.