Skip to content

Read text on image with this simple go microservice (nanoservice ;-) using gin and gosseract

Notifications You must be signed in to change notification settings

gbnk0/image-to-text-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"}

About

Read text on image with this simple go microservice (nanoservice ;-) using gin and gosseract

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published