I am using tesseract dll with .NET application. In this where there are data in tables and and lines coming in image the text extracted are not accurate. The accuracy is too low. I tried all possible combinatins. How to improve this?
I tried PageSegMode and EngineMode all possible combination but the result are not appropriate. I am looking for improved accuracy. Also if any other open source tool available.
Marvin ReidPosted Oct 19, 2023, 3:04 PM
You can try leveraging the AutoPreprocess method to improve your image before you perform an OCR operation. In some cases, it would also be beneficial to investigate applying a suitable image processing technique to enhance the readability of the areas you want recognized.
Here is an example you can build on as well as documentation which shows the techniques you can use to improve your results.
https://www.leadtools.com/help/sdk/tutorials/dotnet-fx-console-preprocess-an-image-for-ocr.html
https://www.leadtools.com/help/sdk/v22/dh/po/namespace.html
Rajkiran SwainPosted Oct 16, 2023, 2:02 PM
If you know where the tables are located in the image, you can segment them before running OCR. This can improve accuracy for table data.