pose

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: 4 Imported by: 0

Documentation

Overview

Package pose hand pose estimator

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Detect

func Detect(d Estimator, img *common.Image, rect common.Rectangle) ([]common.Point, error)

Detect detect hand pose

Types

type Estimator

type Estimator interface {
	common.Estimator
	Detect(img *common.Image, rect common.Rectangle) ([]common.Point, error)
}

Estimator represents estimator interface

type HandPoseEstimator

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

HandPoseEstimator represents handpose estimator

func NewHandPoseEstimator

func NewHandPoseEstimator() *HandPoseEstimator

NewHandPoseEstimator returns a new HandPoseEstimator

func (*HandPoseEstimator) Destroy

func (d *HandPoseEstimator) Destroy()

Destroy free Estimator

func (*HandPoseEstimator) Detect

func (d *HandPoseEstimator) Detect(img *common.Image, rect common.Rectangle) ([]common.Point, error)

Detect implement Estimator interface

func (*HandPoseEstimator) LoadModel

func (d *HandPoseEstimator) LoadModel(modelPath string) error

LoadModel load model for estimator

func (*HandPoseEstimator) Pointer

func (d *HandPoseEstimator) 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