feat: implement OCR methods
feat: replace OCR template with function calls