Ocropus is Google’s OCR software, and it’s open source.