Tesseract-OCR command wrapper for Golang
package main
import (
"fmt"
"github.com/otiai10/gosseract"
)
func main() {
servant := gosseract.SummonServant()
text, _ := servant.Target("your/image/file.png").Out()
fmt.Println(text)
}
apt-get install tesseract-ocr # Basic OCR library by C++
# or yum? brew? Choose the way whichever you can install `tesseract-ocr`
# for Mac OS X 'brew install tesseract'
go get github.com/otiai10/gosseract
go test ./...