using Ocropus http://www.danvk.org//2015/01/09/extracting-text-from-an-image-using-ocropus.html

and Tesseract https://code.google.com/p/tesseract-ocr/ https://github.com/tesseract-ocr