Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.46 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.46 KB

image-to-text-api

Recognize text on JPEG images using tesseract ocr (gosseract)

Build Status Codacy Badge

QUICK START

docker run -p8000:8000 gbnk0/image-to-text-api:latest

API ENDPOINTS

POST /text

Recognize text on an image from url

  • Example:
#> curl -X POST   http://localhost:8000/text -F file=@/home/user/image.jpg
#> {"status":"success","text":"HELLO"}

GET /version

Get the service build number

  • Example:
#> curl -X GET   http://localhost:8000/version
#> {"status":"success","version":"15"}