ocrExtracter

package
v0.0.0-...-bf5f488 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OCR

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

This bot defines an OCR struct that contains a reference to the OCR client, and methods for initializing and closing the client, as well as recognizing text from an image. The struct is then instantiated and used in the main function to recognize text from an image.

func (*OCR) Close

func (o *OCR) Close()

func (*OCR) Init

func (o *OCR) Init()

func (*OCR) Recognize

func (o *OCR) Recognize(imagePath string) (string, error)

Jump to

Keyboard shortcuts

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