If you have a list of background colours for the image, you could extract those individually. I tried a simple gaussian blur to deal them ([1] and [2]). Not perfect, but you get the idea. Once the background colours are out of the equation, there is a horizontal line removal example included with leptonica that might help you [3]. I tried it on the two images ([4] and [5]), and then was able to get fairly good results.
art --- 1. http://imgur.com/NvNW9do 2. http://imgur.com/uThhJPQ 3. http://www.leptonica.com/line-removal.html 4. http://imgur.com/Bnat2U0 5. http://imgur.com/8ydMinC -- 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 http://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/BY2PR11MB0552726C469D444EAAB07885DC630%40BY2PR11MB0552.namprd11.prod.outlook.com. For more options, visit https://groups.google.com/d/optout.

