Please have a look at docs
https://github.com/tesseract-ocr/tessdoc/blob/main/ImproveQuality.md

Zdenko


ne 10. 4. 2022 o 13:25 Aboolfazl Ehsani <[email protected]> napĂ­sal(a):

> I read the attached image with the following code, but some words are not
> recognizable. Please help me how to identify all the texts and numbers
> inside the image.
>
> import cv2
> import pytesseract
>
> image = cv2.imread('Untitled.jpg')
> custom_config = r'-l eng --dpi 300 --oem 3 --psm 6'
> print(pytesseract.image_to_string(image, config=custom_config))
>
> --
> 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/d2706e2b-5e89-40a2-aa00-b99628c00928n%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/d2706e2b-5e89-40a2-aa00-b99628c00928n%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/CAJbzG8xF9ABABsiSSLbNtRon%3DeFXcxc9xYber_8VQ1NqhyPzYg%40mail.gmail.com.

Reply via email to