hopenet

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: 0

Documentation

Overview

Package hopenet include head pose estimation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hopenet

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

Hopenet represents Hopenet detecter

func NewHopenet

func NewHopenet() *Hopenet

NewHopenet returns a new Hopenet

func (*Hopenet) Destroy

func (h *Hopenet) Destroy()

Destroy destroy C.IHopeNet

func (*Hopenet) Detect

func (h *Hopenet) Detect(img *common.Image, faceRect common.Rectangle) (face.HeadPose, error)

Detect head pose

func (*Hopenet) LoadModel

func (h *Hopenet) LoadModel(modelPath string) error

LoadModel load detecter model

func (*Hopenet) Pointer

func (h *Hopenet) Pointer() unsafe.Pointer

Pointer implement Estimator interface

Jump to

Keyboard shortcuts

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