aligner

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package aligner defines face Aligner

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aligner

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

Aligner represents Aligner

func NewAligner

func NewAligner() *Aligner

NewAligner returns a new Aligner

func (*Aligner) Align

func (a *Aligner) Align(img *common.Image, faceInfo face.FaceInfo, out *common.Image) error

Align face

func (*Aligner) Destroy

func (a *Aligner) Destroy()

Destroy destroy C.IFaceAligner

func (*Aligner) SetThreads

func (a *Aligner) SetThreads(n int)

SetThreads set num_threads

Jump to

Keyboard shortcuts

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