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
frameInputArrayThe input image.
detectionsPoint[][]array with detections' quadrangles (4 points per result).
confidencesfloat[]array with detection confidences.