Here are two of my blog post in regards to using OCR to bypass some security mechanisms:
In short: It's a python code where you press one button and it will take a screen shot, crop the image, decode it, and type in at over 900+ rpm.
https://anthonys.io/ocr-engine-playground/
To see how it is in action without the OCR functions: