Role of OCR in machine learning