Software OCR machine learning