Table of Contents

Class TextDetectionModelEAST

Namespace
OpenCvSharp.Dnn
Assembly
OpenCvSharp.dll

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

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

Constructors

TextDetectionModelEAST(Net)

Create model from deep learning network.

public TextDetectionModelEAST(Net network)

Parameters

network Net

Net object.

TextDetectionModelEAST(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.

public TextDetectionModelEAST(string model, string? config = null)

Parameters

model string

Binary file contains trained weights.

config string

Text file contains network configuration.

Methods

GetConfidenceThreshold()

Get the detection confidence threshold.

public float GetConfidenceThreshold()

Returns

float

the detection confidence threshold

GetNMSThreshold()

Get the detection NMS filter threshold.

public float GetNMSThreshold()

Returns

float

the detection NMS filter threshold

SetConfidenceThreshold(float)

Set the detection confidence threshold.

public void SetConfidenceThreshold(float confThreshold)

Parameters

confThreshold float

A threshold used to filter boxes by confidences.

SetNMSThreshold(float)

Set the detection NMS filter threshold.

public void SetNMSThreshold(float nmsThreshold)

Parameters

nmsThreshold float

A threshold used in non maximum suppression.