types

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

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

Go to latest
Published: Oct 1, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetectionResult

type DetectionResult struct {
	Frame   Frame        `json:"frame"`
	Angle   float64      `json:"angle"`
	Minutia MinutiaeList `json:"minutia"`
}

func (*DetectionResult) RelativeMinutia

func (dr *DetectionResult) RelativeMinutia() MinutiaeList

type Frame

type Frame struct {
	Horizontal image.Rectangle `json:"horizontal"`
	Vertical   image.Rectangle `json:"vertical"`
	Diagonal   image.Rectangle `json:"diagonal"`
	Angle      float64         `json:"angle"`
}

type Metadata

type Metadata struct {
	MinValue  float64
	MaxValue  float64
	MeanValue float64
}

type Minutiae

type Minutiae struct {
	X     int          `json:"x"`
	Y     int          `json:"y"`
	Angle float64      `json:"angle"`
	Type  MinutiaeType `json:"type"`
}

func (Minutiae) String

func (m Minutiae) String() string

type MinutiaeList

type MinutiaeList []Minutiae

type MinutiaeType

type MinutiaeType byte
const (
	Termination MinutiaeType = iota
	Bifurcation
	Pore
	Unknown
)

func (MinutiaeType) String

func (t MinutiaeType) String() string

Jump to

Keyboard shortcuts

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