Upload prototype for ocr