gosseract alternatives and similar packages
Based on the "Machine Learning" category.
Alternatively, view gosseract alternatives based on common mentions on social networks and blogs.
-
Gorgonia
Gorgonia is a library that helps facilitate machine learning in Go. -
m2cgen
Transform ML models into a native code (Java, C, Python, Go, JavaScript, Visual Basic, C#, R, PowerShell, PHP, Dart, Haskell, Ruby, F#, Rust) with zero dependencies -
gago
:four_leaf_clover: Evolutionary optimization library for Go (genetic algorithm, partical swarm optimization, differential evolution) -
ocrserver
A simple OCR API server, seriously easy to be deployed by Docker, on Heroku as well -
onnx-go
onnx-go gives the ability to import a pre-trained neural network within Go without being linked to a framework or library. -
shield
Bayesian text classifier with flexible tokenizers and storage backends for Go -
neat
Plug-and-play, parallel Go framework for NeuroEvolution of Augmenting Topologies (NEAT). -
go-featureprocessing
๐ฅ Fast, simple sklearn-like feature processing for Go -
neural-go
A multilayer perceptron network implemented in Go, with training via backpropagation. -
go-cluster
k-modes and k-prototypes clustering algorithms implementation in Go
Access the most powerful time series database as a service
Do you think we are missing an alternative of gosseract or a related project?
README
gosseract OCR
Golang OCR package, by using Tesseract C++ library.
OCR Server
Do you just want OCR server, or see the working example of this package? Yes, there is already-made server application, which is seriously easy to deploy!
๐ https://github.com/otiai10/ocrserver
Example
package main
import (
"fmt"
"github.com/otiai10/gosseract/v2"
)
func main() {
client := gosseract.NewClient()
defer client.Close()
client.SetImage("path/to/image.png")
text, _ := client.Text()
fmt.Println(text)
// Hello, World!
}
Install
- tesseract-ocr, including library and headers
go get -t github.com/otiai10/gosseract/v2
Check Dockerfile for more detail of installation, or you can just try by docker run -it --rm otiai10/gosseract
.
Test
In case you have tesseract-ocr on your local, you can just hit
% go test .
Otherwise, if you DON'T want to install tesseract-ocr on your local, kick ./test/runtime
which is using Docker and Vagrant to test the source code on some runtimes.
% ./test/runtime --driver docker
% ./test/runtime --driver vagrant
Check ./test/runtimes for more information about runtime tests.
Issues
*Note that all licence references and agreements mentioned in the gosseract README section above
are relevant to that project's source code only.