faceapi

package
v0.0.0-...-1f5ce45 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultExtractor

func NewDefaultExtractor(modelRoot string) (*gildasai.Extractor, error)

Types

type Descriptor

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

func NewDescriptor

func NewDescriptor() (*Descriptor, error)

func NewDescriptorFromFile

func NewDescriptorFromFile(modelName, tagName string) (*Descriptor, error)

func (*Descriptor) Close

func (d *Descriptor) Close() error

func (*Descriptor) Compute

func (d *Descriptor) Compute(img image.Image) (gildasai.Descriptors, error)

type Detector

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

func NewDetector

func NewDetector() (*Detector, error)

func NewDetectorFromFile

func NewDetectorFromFile(modelFilename string) (*Detector, error)

func (*Detector) Close

func (d *Detector) Close() error

func (*Detector) Detect

func (d *Detector) Detect(img image.Image) ([]gildasai.Detection, error)

type Landmark

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

func NewLandmark

func NewLandmark() (*Landmark, error)

func NewLandmarkFromFile

func NewLandmarkFromFile(modelName, tagName string) (*Landmark, error)

func (*Landmark) Close

func (d *Landmark) Close() error

func (*Landmark) Detect

func (d *Landmark) Detect(img image.Image) (*gildasai.Landmarks, error)

Jump to

Keyboard shortcuts

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