ocr

package
v0.0.0-...-c0cef93 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(text string) string

Types

type Engine

type Engine interface {
	ImgToText(img image.Image) (string, error)
}

type GosseractOcr

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

func NewGosseractOcr

func NewGosseractOcr(langs ...string) (*GosseractOcr, error)

func (*GosseractOcr) Close

func (g *GosseractOcr) Close() error

func (*GosseractOcr) ImgToText

func (g *GosseractOcr) ImgToText(img image.Image) (string, error)

Jump to

Keyboard shortcuts

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