If you are interested in a commercial solution, you can check out the LEADTOOLS OCR SDK. There is no machine training needed and it can run straight out of the box. Disclaimer: I am an employee of this company.
OCR can be performed on an image with only a few lines of code:
OcrEngine ocrEngine = OcrEngineManager.createEngine(OcrEngineType.LEAD);
It is more easy than described here. Think of a more difficult situation where you only have the files in a folder, and you want to extract the texts and save it in a csv file output.
Just visit my github repo at https://github.com/aneendo/Image_to_Text and run the main.py file