imgmatch

package
v0.0.0-...-8f6d374 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

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

func NewMatcher

func NewMatcher(samplesDir string, interestingThreshold, suspiciousThreshold int) (*Matcher, error)

func (*Matcher) AddSample

func (m *Matcher) AddSample(name string, img image.Image) (added bool, err error)

func (*Matcher) CheckSample

func (m *Matcher) CheckSample(img image.Image) (match bool, err error)

Jump to

Keyboard shortcuts

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