ocr

package
v0.0.0-...-d0c75a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeGs      = "gs"
	ModeImagick = "imagick"
)

Variables

View Source
var Command = &cobra.Command{
	Use:   "ocr",
	Short: "ocr",
	Long:  ``,
	Run: func(cmd *cobra.Command, args []string) {
		size := len(args)
		if size > 0 {
			viper.Set("image", args[0])
		} else {
			return
		}
		if err := Excute(); err != nil {
			cr.Red("%+v", err)
		}
	},
}

Functions

func Excute

func Excute() error

func Gosseract

func Gosseract() error

func Tesseract

func Tesseract() error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL