OCR (optical character recognition) is pretty tricky to do at all, let alone well. There are a few open source libraries (tesseract) written in c, and wrappers written in python, but even this was difficult to get working well.
I think your best bet is to look at one of the various online OCR sites, and basically just use requests to upload the image and collect the results. Google Docs does OCR, but might be more than what you need. You should do a search for online OCRs to find one that does not use Captchas (thus automatable), and an easy enough layout, and mostly plain html ( nit overly javascript heavy).
https://www.newocr.com doesn't look too bad, through the web interface. I have not tried automating the web interface, but it did not look too bad. It also has an rest api, which would make scripting easier, but you only get 200 conversions for free.
If you can host your own service on your Pc, http://www.openocr.net seems like a good option.
If you can claim to be a student, http://ocrsdk.com/for_students/ also offers an API.