https://blog-qa.aspose.com/ocr/convert-image-to-text-using-java-ocr-api/
Convert Image to Text using Java OCR API