0

I am trying to extract the text from an image using openCV and tesseract. Since, we need to pass a clean image to tesseract to fetch the text properly with accuracy. But I am facing an issue related to preprocessing of an image using opencv.

How can i join the texts and get proper text to to pass to the tesseract?

image1(ORIGINAL IMAGE)

enter image description here

image2(PROCESSED IMAGE).

enter image description here

Ashwini Saini
  • 1,324
  • 11
  • 20
Amul Mittal
  • 54
  • 1
  • 9
  • Possible duplicate of [Connect close-by dots for OCR (some hints asked, e.g. using morphological operations)](https://stackoverflow.com/questions/47391811/connect-close-by-dots-for-ocr-some-hints-asked-e-g-using-morphological-operat) – Dmitrii Z. Oct 06 '18 at 05:45
  • Thanks @DmitriiZ. for your help. This link help it out to some extent. But still I am facing the same issue. Below I am attaching the image I got after using this link. Please help. – Amul Mittal Oct 06 '18 at 06:30
  • You forgot to attach the image. – Dmitrii Z. Oct 06 '18 at 07:31
  • here is the link for image - https://ibb.co/jtTJuK – Amul Mittal Oct 06 '18 at 08:50

0 Answers0