TextDetectionOptions<T>
Options & Configuration · AiDotNet.ComputerVision.Detection.TextDetection
Options for text detection models.
Constructors
| Constructor | Summary |
|---|---|
TextDetectionOptions() |
Properties
| Property | Summary |
|---|---|
BackboneType Backbone { get; set; } |
Backbone network type. |
ModelSize Size { get; set; } |
Model size variant. |
T BinaryThreshold { get; set; } |
Threshold for text/background binarization. |
T ConfidenceThreshold { get; set; } |
Minimum confidence threshold for text detection. |
TextDetectionArchitecture Architecture { get; set; } |
Text detection architecture to use. |
bool UseMultiScale { get; set; } |
Whether to detect at multiple scales. |
bool UsePretrained { get; set; } |
Whether to use pretrained weights. |
double PolygonSimplificationEpsilon { get; set; } |
Polygon simplification threshold. |
int MaxDetections { get; set; } |
Maximum number of detections. |
int? RandomSeed { get; set; } |
Seed for weight initialization, so two models built from equal options start from equal weights. |
int[] InputSize { get; set; } |
Input image size (height, width). |
string WeightsUrl { get; set; } |
URL for pretrained weights. |