Skip to content

kt3k/gosseract

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gosseract-ocr

tesseract-ocr wrapper by Golang

What is tesseract-ocr?

Sample

package main

import (
  "github.com/otiai10/gosseract"
  "fmt"
)

func main() {
  servant := gosseract.SummonServant()

  text, _ := servant.Target("your/image/file.png").Out()

  fmt.Println(text)
}

Set Up

apt-get install tesseract-ocr # Basic OCR library by C++
# or yum? brew? Choose the way whichever you can install `tesseract-ocr`
go get github.com/otiai10/gosseract
go get github.com/r7kamura/gosple # for testing

First of All, Run the Tests!!

cd tests
go test -i
go test

About

OCR library by Golang, wrapping Tesseract-ocr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%