Implement OCR for 4