For receipt processing, you can might consider leveraging Tesseract’s word coordinates. For example, using the coordinates to the right of the image in the area where prices are to extract the individual word images and redoing the OCR on this portion. If Tesseract isn’t detecting the text at all, there are some multiplatform image tools that might help. I think the original poster was dealing with windows, and I think OpenCV is an option on that platform and on android.
art From: [email protected] [mailto:[email protected]] On Behalf Of Jimi Hollow Sent: Wednesday, December 14, 2016 4:48 PM To: tesseract-ocr <[email protected]> Subject: [tesseract-ocr] Re: Need help on improving text accuracy Please send some information if you successfully get through it. I am working on the same issue on Android. W dniu czwartek, 8 grudnia 2016 19:20:06 UTC+1 użytkownik Marie napisał: Got it. Thanks a lot! On Thursday, December 8, 2016 at 12:50:23 AM UTC-8, Ashish Goel wrote: It depends. Extent of automation will depend upon your images. If all of your images are same in size, then you can find coordinates of your sections (Like header, store address, billing info) and use a tool (for ex. imagemagick) to crop all of your images. Do OCR and then see what needs to be looked at. if your images are of different sizes that you may have to do some kind of image processing to rescale, resize and many other things, which will gain depend upon the variations. On Thursday, December 8, 2016 at 1:13:14 PM UTC+5:30, Marie wrote: Thank you Ashish for the suggestion. The challenge is how to automate this process, any thoughts? On Wednesday, December 7, 2016 at 1:00:59 AM UTC-8, Ashish Goel wrote: Crop image into sub images and then OCR. Crop it in different segments. On Saturday, December 3, 2016 at 5:54:51 PM UTC+5:30, Marie wrote: Hi, We are trying to recognize receipt using Tesseract (v3.02 on Windows). Tried to process the images but the words accuracy (comparing with OneNote's result) is still not good. Any suggestions on how to improve accuracy? p.s.attaching the raw image, processed image with OCR results by Tesseract, raw image: [https://lh6.googleusercontent.com/proxy/rDfxIApkCti4n7-NKq5HD9xWK8R-RGCTmCmQRWMvHUYu2xTqk2OHhQbEOO5kLxPzSnxK8Jo0xGVdaz-Z4pXVe3MUizW5w6fon_ZlJ08XGTXtlTGyfeeSJi1jLu-a167U3ZJ88ycI2vZ6FbbzxYowKl-yLFauU37qoU1I6e6jMblzYxMVSLA8ydrVRzuoeko=w5000-h5000] text recognized from raw image: [https://lh5.googleusercontent.com/proxy/_tFB3gA7Z-DwKB2RaAZOJ2l3q4iZ5GvtMAjMTKTu7GbNxHL79DamSB46zcody-OmvL8Anztx9tUk5ZIleX09S1-zfHnpSR4-ZmxoI2VZqaFlegjAgFgnUuqQPlSN0vDaZZKmPiLELgcUr3bX71LlJMdfsBAwGOqsZ64Un8aDPfkggw7huSfVMrnDgLvzGGo=w5000-h5000] processed image (scaled 200%, increased contrast, cropped border) [https://lh5.googleusercontent.com/proxy/kKBedsIS5yXl5IbJsRWR9gpSW6SbQDmsaBise2ZHei_bumOQr-xq0F-Lw8ecwFeX8_n8XnBboTUzZJOTFiKCDeZJTyZv_MGFSJh71MBoliwB946jcIkhep4blyKJQXEvdliDB30obje26CsS4L4x-AKWI9OBM3-ROJUp4onWoEMOdmpUt0wsQLD-AKHVTjY=w5000-h5000] [https://lh3.googleusercontent.com/proxy/USWnjKL8n0h3K55IVTQWnBXP1Paj4xGAOYxpcyfJ-5W8HwG0dm9t4YH5Mruq1dXQ4Zp214ONBBxexbtmGeAje2S5L1UvSvd3JoyHSpGgbLxgPnsJ4HxyU9SsLLPxpPCw47uPsRGEhhCR8auv92NkutB-Ht7ZtdkVAHgr3SvXieAGnbFtVX7XotqnusjQOOc=w5000-h5000] Thanks, Marie -- 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]<mailto:[email protected]>. To post to this group, send email to [email protected]<mailto:[email protected]>. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/fed49f6c-27a5-4f69-95d9-d1c5befe826d%40googlegroups.com<https://groups.google.com/d/msgid/tesseract-ocr/fed49f6c-27a5-4f69-95d9-d1c5befe826d%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/DM3PR11MB103661E83B7E2F05A74EDF05DC910%40DM3PR11MB1036.namprd11.prod.outlook.com. For more options, visit https://groups.google.com/d/optout.

