Table of Contents

Method Detect

Namespace
OpenCvSharp.Dnn
Assembly
OpenCvSharp.dll

Detect(InputArray, out Point[][], out float[])

Performs detection. Given the input @p frame, prepare network input, run network inference, post-process network output and return result detections. Each result is quadrangle's 4 points in this order: bottom-left, top-left, top-right, bottom-right.

public void Detect(InputArray frame, out Point[][] detections, out float[] confidences)

Parameters

frame InputArray

The input image.

detections Point[][]

array with detections' quadrangles (4 points per result).

confidences float[]

array with detection confidences.