Table of Contents

Method DetectTextRectangles

Namespace
OpenCvSharp.Dnn
Assembly
OpenCvSharp.dll

DetectTextRectangles(InputArray, out RotatedRect[], 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 rotated rectangle.

public void DetectTextRectangles(InputArray frame, out RotatedRect[] detections, out float[] confidences)

Parameters

frame InputArray

The input image.

detections RotatedRect[]

array with detections' RotatedRect results.

confidences float[]

array with detection confidences.