processing

package
v0.0.0-...-bf36e15 Latest Latest
Warning

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

Go to latest
Published: May 24, 2019 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HOCRBBox

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

type HOCRNode

type HOCRNode struct {
	Text       string
	BBox       *HOCRBBox
	Rotation   int
	Confidence int
}

type OCRInfo

type OCRInfo struct {
	Orientation           int
	OrientationConfidence int
	Script                string
	ScriptConfidence      int
}

func TessOCRInfo

func TessOCRInfo(filename string, lang string) (*OCRInfo, error)

type OCRResult

type OCRResult struct {
	Text  string
	Nodes []*HOCRNode
}

func TessHOCR

func TessHOCR(filename string, lang string) (*OCRResult, error)

Jump to

Keyboard shortcuts

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