Class TextDetectionModel_DB
This class represents high-level API for text detection DL networks compatible with DB model.
public class TextDetectionModel_DB : TextDetectionModel, IDisposable
- Inheritance
-
TextDetectionModel_DB
- Implements
- Inherited Members
Constructors
TextDetectionModel_DB(Net)
Create text detection algorithm from deep learning network
public TextDetectionModel_DB(Net net)
Parameters
net
NetThe DNN network
TextDetectionModel_DB(string, string)
Create text detection model from network represented in one of the supported formats.
public TextDetectionModel_DB(string model, string config = null)
Parameters
model
stringBinary file contains trained weights.
config
stringText file contains network configuration.
Properties
BinaryThreshold
Binary threshold
public float BinaryThreshold { get; set; }
Property Value
MaxCandidates
Max candidates
public int MaxCandidates { get; set; }
Property Value
PolygonThreshold
Polygon threshold
public float PolygonThreshold { get; set; }
Property Value
UnclipRatio
Unclip ratio
public double UnclipRatio { get; set; }
Property Value
Methods
DisposeObject()
Release the memory associated with this text detection model.
protected override void DisposeObject()