TextDetectionResult<T>

Models & Types · AiDotNet.Document

Represents the result of text detection in an image.

For Beginners

Text detection finds where text is located in an image. This result contains the bounding boxes (locations) of all detected text regions, but not the actual text content - that requires a text recognizer.

Constructors

Constructor Summary
TextDetectionResult()

Properties

Property Summary
IReadOnlyList<TextRegion<T>> TextRegions { get; set; } Gets the detected text regions.
Tensor<T> BinaryMap { get; set; } Gets the binary map (final segmentation result).
Tensor<T> ProbabilityMap { get; set; } Gets the probability map showing text likelihood at each pixel.
Tensor<T> ThresholdMap { get; set; } Gets the threshold map (for models like DBNet that use adaptive thresholding).
double ProcessingTimeMs { get; set; } Gets the processing time in milliseconds.
int RegionCount { get; } Gets the number of detected text regions.