move ocr to server