ocr

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureOCREngine

func EnsureOCREngine() (string, error)

func GetOCREnginePath

func GetOCREnginePath() string

func IsOCREngineInstalled

func IsOCREngineInstalled() bool

Types

type ProgressReader

type ProgressReader struct {
	Reader     io.Reader
	Total      int64
	Current    int64
	OnProgress func(int64)
}

ProgressReader is a custom io.Reader that reports progress

func (*ProgressReader) Read

func (pr *ProgressReader) Read(p []byte) (int, error)

Jump to

Keyboard shortcuts

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