[tesseract-ocr] Passing binarized image to Tesseract

2017-08-16 Thread Syed Uzair
Hello I am doing binarization using separate algorithm and saving result as PNG and passing this PNG to Tesseract. Since i have binarized it already i want Tesseract to stop applying its binarization (Otsu's) on my binarized image. According to SetImage documentation in thresholder.cpp //

[tesseract-ocr] Re: Tesseract AdaptToWordStr usage?

2017-07-31 Thread Syed Uzair
Sorry made a mistake in attached file names. When i uncomment lines 18,19 my console reads like output3.png (attachment). output2.png is the debug file. Thanks On Monday, July 31, 2017 at 5:09:37 PM UTC+5:30, Syed Uzair wrote: > > Hello all > > I am trying to extract text from

[tesseract-ocr] Tesseract AdaptToWordStr usage?

2017-07-31 Thread Syed Uzair
Hello all I am trying to extract text from the attached image (010003.bin.png) using tesserocr (python wrapper for Tesseract 3.04 API). When i used the script TestAdapttoWord.py (attachment) with the lines 18,19 commented my console reads like output1.png (attachment) and when i uncomment