Skip to content

myokoym/tesseractocr-capi-go

 
 

Repository files navigation

TesseractOCR C API Go wrapper

Build Status GoDoc

instalation

Before you use this library, please install tesseract-ocr.

  • tesseract-ocr 3.02 needs for all tests passing
  • tesseract-ocr 3.03 also supported but some tests failing
  • tesseract-ocr 3.04 is not supported yet.

OSX

For OSX 10.9 Marvericks with homebrew:

$ brew install tesseract --all-languages

Ubuntu Linux

For Ubuntu Linux 14.04 LTS (Trusty Tahr):

$ sudo apt-get install libtesserac-dev libleptonica-dev
$ sudo apt-get install tesseract-ocr-eng tesseract-ocr-jpn

FreeBSD (pkgng)

FreeBSD 10 release with pkgng:

$ export CC=clang
$ sudo pkg install -y tesseract pkgconf
$ sudo pkg install -y tesseract-data

Windows

Not supported yet.

import

This library depends on https://github.com/cosmo0920/leptonica-capi-go/.

$ go get "github.com/cosmo0920/leptonica-capi-go/"
$ go get "github.com/cosmo0920/tesseractocr-capi-go/"

and then,

import "github.com/cosmo0920/tesseractocr-capi-go/"

LICENSE

Apache License 2.0

Support platform

  • OSX 10.9 Marvericks with homebrew
  • Ubuntu Linux 14.04 LTS (Trusty Tahr)
  • FreeBSD 10 release with pkgng

About

TesseractOCR C API Go wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 90.0%
  • Shell 9.3%
  • Ruby 0.7%