Spring-boot+SwaggerUI+Tesseract-ocr.
brew install tesseract --with-all-languages
export TESSDATA_PREFIX=/usr/local/Cellar/tesseract/3.05.01/share/tessdata
Commandline Example with parametertes:
tesseract input.jpeg output --oem 1 -l eng
mvn spring-boot:run -Dspring.profiles.active=dev -DTESSDATA_PREFIX=/Users/yangboz/git/laughing-bear/src/main/resources/tessdata/
http://localhost:8083/api/swagger-ui.html
curl -i -X POST -H "Content-Type: multipart/form-data" -F "file=@raw_ocr.png" http://localhost:8083/api/info/smartkit/orc/tesseract
OCR v4:
https://www.pyimagesearch.com/2018/09/17/opencv-ocr-and-text-recognition-with-tesseract/
https://www.pyimagesearch.com/2018/08/20/opencv-text-detection-east-text-detector/
https://code.google.com/p/tesseract-ocr/
http://tess4j.sourceforge.net/
https://github.com/tesseract-ocr/tesseract/wiki
https://github.com/tesseract-ocr/tessdata
http://www.baeldung.com/swagger-2-documentation-for-spring-rest-api
https://medium.com/@balaajip/optical-character-recognition-99aba2dad314
https://github.com/tesseract-ocr/tesseract/wiki/Command-Line-Usage