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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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