1

Working on an OCR project, I am trying to figure out if there is any way or possibility to omit Leptonica Library from Tesseract and maybe replace it with OpenCV. Already have OpenCV on the C layer and planning to combine that with Tesseract.

Alma
  • 75
  • 1
  • 6

1 Answers1

1

No, it is not possible (unless you rewrite tesseract).

But you can compile leptonica with the minimal dependencies (zlib + png).

Also I would suggest to check your OpenCV package as it includes support for tesseract OCR.

user898678
  • 2,994
  • 2
  • 18
  • 17
  • Is it possible to use multiple languages for tesseract/tessdata simultaneously when using it through OpenCV C++. – Alma Mar 09 '22 at 23:20