Table of Contents

Class TextDetectionModelDB

Namespace
OpenCvSharp.Dnn
Assembly
OpenCvSharp.dll

This class represents high-level API for text detection DL networks compatible with DB model.

public class TextDetectionModelDB : TextDetectionModel, IDisposable
Inheritance
TextDetectionModelDB
Implements
Inherited Members

Constructors

TextDetectionModelDB(Net)

Create model from deep learning network.

TextDetectionModelDB(string, string?)

Create text detection model from network represented in one of the supported formats. An order of @p model and @p config arguments does not matter.

Methods

GetBinaryThreshold()

Get the detection binary threshold.

GetMaxCandidates()

Get the max candidates of polygons.

GetPolygonThreshold()

Get the polygon threshold.

GetUnclipRatio()

Get the unclip ratio.

SetBinaryThreshold(float)

Set the detection binary threshold.

SetMaxCandidates(int)

Set the max candidates of polygons.

SetPolygonThreshold(float)

Set the polygon threshold.

SetUnclipRatio(double)

Set the unclip ratio.