processing

package
v0.0.0-...-62bd2d0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClipBoxes

func ClipBoxes(boxes *tensor.Dense, imgShape []int) (*tensor.Dense, error)

func GenerateAnchorsFPN2

func GenerateAnchorsFPN2(denseAnchor bool, cfg *orderedmap.OrderedMap[string, AnchorConfig]) ([]*tensor.Dense, error)

func NMS

func NMS(dets *tensor.Dense, threshold float32) ([]int, error)

Types

type AnchorConfig

type AnchorConfig struct {
	BaseSize      int
	Ratios        []float32
	Scales        []float32
	AllowedBorder int
}

Jump to

Keyboard shortcuts

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