Documentation ¶
Index ¶
- type DefaultTransparencyLogger
- func (t *DefaultTransparencyLogger) Log(key string, data interface{}) error
- func (t *DefaultTransparencyLogger) LogBestMatch(nth int) error
- func (t *DefaultTransparencyLogger) LogBestPairing(pairing *matcher.PairingGraph) error
- func (t *DefaultTransparencyLogger) LogBestScore(score *matcher.ScoringData) error
- func (t *DefaultTransparencyLogger) LogEdgeHash(hash map[int][]*features.IndexedEdge) error
- func (t *DefaultTransparencyLogger) LogPairing(pairing *matcher.PairingGraph) error
- func (t *DefaultTransparencyLogger) LogRootPairs(count int, roots []*matcher.MinutiaPair) error
- func (t *DefaultTransparencyLogger) LogScore(score *matcher.ScoringData) error
- func (t *DefaultTransparencyLogger) LogSkeleton(keyword string, skeleton *features.Skeleton) error
- type Extractor
- type Image
- type ImageOptions
- type Matcher
- type Pixel
- type TemplateCreator
- type Transparency
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultTransparencyLogger ¶
type DefaultTransparencyLogger struct {
// contains filtered or unexported fields
}
func NewTransparencyLogger ¶
func NewTransparencyLogger(taker Transparency) *DefaultTransparencyLogger
func (*DefaultTransparencyLogger) Log ¶
func (t *DefaultTransparencyLogger) Log(key string, data interface{}) error
func (*DefaultTransparencyLogger) LogBestMatch ¶
func (t *DefaultTransparencyLogger) LogBestMatch(nth int) error
func (*DefaultTransparencyLogger) LogBestPairing ¶
func (t *DefaultTransparencyLogger) LogBestPairing(pairing *matcher.PairingGraph) error
func (*DefaultTransparencyLogger) LogBestScore ¶
func (t *DefaultTransparencyLogger) LogBestScore(score *matcher.ScoringData) error
func (*DefaultTransparencyLogger) LogEdgeHash ¶
func (t *DefaultTransparencyLogger) LogEdgeHash(hash map[int][]*features.IndexedEdge) error
func (*DefaultTransparencyLogger) LogPairing ¶
func (t *DefaultTransparencyLogger) LogPairing(pairing *matcher.PairingGraph) error
func (*DefaultTransparencyLogger) LogRootPairs ¶
func (t *DefaultTransparencyLogger) LogRootPairs(count int, roots []*matcher.MinutiaPair) error
func (*DefaultTransparencyLogger) LogScore ¶
func (t *DefaultTransparencyLogger) LogScore(score *matcher.ScoringData) error
func (*DefaultTransparencyLogger) LogSkeleton ¶
func (t *DefaultTransparencyLogger) LogSkeleton(keyword string, skeleton *features.Skeleton) error
type Extractor ¶
type Extractor interface {
Extract(raw *primitives.Matrix, dpi float64) (*templates.FeatureTemplate, error)
}
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func NewFromGray ¶
func NewFromGray(img *image.Gray, opts ...ImageOptions) (*Image, error)
func NewFromImage ¶
func NewFromImage(img image.Image, opts ...ImageOptions) (*Image, error)
func (*Image) Matrix ¶
func (i *Image) Matrix() *primitives.Matrix
type ImageOptions ¶
func WithResolution ¶
func WithResolution(dpi float64) ImageOptions
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
func NewMatcher ¶
func NewMatcher(logger matcher.MatcherLogger, probe *templates.SearchTemplate) (*Matcher, error)
type TemplateCreator ¶
type TemplateCreator struct {
// contains filtered or unexported fields
}
func NewTemplateCreator ¶
func NewTemplateCreator(logger logger.TransparencyLogger) *TemplateCreator
func (*TemplateCreator) Template ¶
func (c *TemplateCreator) Template(img *Image) (*templates.SearchTemplate, error)
Click to show internal directories.
Click to hide internal directories.