detecter

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: ? modules, 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 detecter pose detecter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Detect

func Detect(d Detecter, img *common.Image) ([]common.ObjectInfo, error)

Detect detect hand ROI

Types

type Detecter

type Detecter interface {
	common.Estimator
	Detect(img *common.Image) ([]common.ObjectInfo, error)
}

Detecter represents deteter interface

type Nanodet

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

Nanodet represents nanodet detecter

func NewNanodet

func NewNanodet() *Nanodet

NewNanodet returns a new Nanodet

func (*Nanodet) Destroy

func (d *Nanodet) Destroy()

Destroy free detecter

func (*Nanodet) Detect

func (d *Nanodet) Detect(img *common.Image) ([]common.ObjectInfo, error)

Detect implement Detecter interface

func (*Nanodet) LoadModel

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

LoadModel load model for detecter

func (*Nanodet) Pointer

func (d *Nanodet) Pointer() unsafe.Pointer

Pointer implement Estimator interface

type Yolox

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

Yolox represents yolox detecter

func NewYolox

func NewYolox() *Yolox

NewYolox returns a new Yolox

func (*Yolox) Destroy

func (d *Yolox) Destroy()

Destroy free detecter

func (*Yolox) Detect

func (d *Yolox) Detect(img *common.Image) ([]common.ObjectInfo, error)

Detect implement Detecter interface

func (*Yolox) LoadModel

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

LoadModel load model for detecter

func (*Yolox) Pointer

func (d *Yolox) Pointer() unsafe.Pointer

Pointer implenment Estimator interface

Jump to

Keyboard shortcuts

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