Fixed so ocr recogniton is sent to server