Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
/ GOCR Public

Tiny webserver doing text image recognition (OCR) with the use of curl

Notifications You must be signed in to change notification settings

dani3l0/GOCR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GOCR

A tiny API that converts text from images into raw text

Using curl

Let's get raw text from image called meme.png:

curl -F '[email protected]' http://localhost:8080

How to run

Just download binary file from releases and run it

Configuration

config.yaml file will be created on first run:

  • listenaddr - IP address and port HTTP server is listening on
  • imagedir - path where images will be saved
  • uploadlimit - upload limit in megabytes

Development

CGO HAS TO BE ENABLED!

(but just during compilation)

and, tesseract dev libs as well

About

Tiny webserver doing text image recognition (OCR) with the use of curl

Resources

Stars

Watchers

Forks

Languages