x

package
v0.0.0-...-5db1683 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LetterFragment

type LetterFragment struct {
	Mat  *gocv.Mat
	File string
}

type QuoteFragment

type QuoteFragment struct {
	//fragment提取到字母和数字应该存放的文件夹
	Dir string
	//Mat
	Mat *gocv.Mat
}

type XProcessor

type XProcessor struct {
	//原始截图文件路径
	OriginImg string
	// contains filtered or unexported fields
}

func NewXProcessor

func NewXProcessor(originImg string) *XProcessor

func (*XProcessor) Detect

func (p *XProcessor) Detect(letterFragment *LetterFragment) (string, error)

func (*XProcessor) GetLetterFragment

func (p *XProcessor) GetLetterFragment(fragment *QuoteFragment) []*LetterFragment

func (*XProcessor) GetQuoteFragment

func (p *XProcessor) GetQuoteFragment() ([]*QuoteFragment, error)

func (*XProcessor) TrashMat

func (p *XProcessor) TrashMat()

Jump to

Keyboard shortcuts

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