ocr

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyzer

type Analyzer struct {
	// contains filtered or unexported fields
}

Analyzer is the OCR analysis class

func NewAnalyzer

func NewAnalyzer(configPath string, logger *zap.SugaredLogger) *Analyzer

NewAnalyzer creates a new OCR analyzer

func (*Analyzer) Analyze

func (a *Analyzer) Analyze(jobID string, content []byte, assetType string) (contents string, err error)

Analyze executes OCR on text

func (*Analyzer) Version

func (a *Analyzer) Version() string

Version reports the version of Tesseract

Jump to

Keyboard shortcuts

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