Table of Contents

Method InferBboxes

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

InferBboxes(Mat, Mat, Mat, double)

Filters SqueezeDet predictions into bounding boxes for the 20 PASCAL VOC classes. All inputs must be single-channel 32-bit floating point matrices.

public static DnnObjectDetection[] InferBboxes(Mat deltaBboxes, Mat classScores, Mat confidenceScores, double threshold = 0.8)

Parameters

deltaBboxes Mat

A 23 x 23 x 36 tensor of box deltas.

classScores Mat

A 4761 x 20 matrix of class scores.

confidenceScores Mat

A 23 x 23 x 9 tensor of confidence scores.

threshold double

Minimum object probability, from 0 to 1.

Returns

DnnObjectDetection[]