server code (pre-processing and tesseract ocr)

better api results