asticode / go-astiocr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

$ go get -u github.com/asticode/go-astiocr/...

Train your model

For the next commands we assume you are in $GOPATH/src/github.com/asticode/go-astiocr

Set up configuration

Copy astiocr/local.toml.dist to astiocr/local.toml and replace the desired values.

Gather data

Then run:

$ go run astiocr/main.go gather -v -c astiocr/local.toml

or if make is installed on your system:

$ make gather

List available trained models

Run:

$ go run astiocr/main.go list -v -c astiocr/local.toml

or if make is installed on your system:

$ make list

Configure the model

Run:

$ go run astiocr/main.go configure -v -c astiocr/local.toml -n <model name>

Train the model

Move to your output path and run either scripts/train.bat or scripts/train.sh depending on your platform.

About

License:MIT License


Languages

Language:Go 92.5%Language:Python 6.7%Language:Makefile 0.8%