ncnn

package
v0.0.0-...-e05d22d Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize()

Types

type Detector

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

func NewDetector

func NewDetector(config *nn.ModelConfig, threadingMode nn.ThreadingMode, paramsFile, binFile string) (*Detector, error)

func (*Detector) Close

func (d *Detector) Close()

func (*Detector) Config

func (d *Detector) Config() *nn.ModelConfig

func (*Detector) DetectObjects

func (d *Detector) DetectObjects(batch nn.ImageBatch, params *nn.DetectionParams) ([][]nn.ObjectDetection, error)

Jump to

Keyboard shortcuts

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