Table of Contents

Class TextDetectionResult<T>

Namespace
AiDotNet.Document
Assembly
AiDotNet.dll

Represents the result of text detection in an image.

public class TextDetectionResult<T>

Type Parameters

T

The numeric type used for calculations.

Inheritance
TextDetectionResult<T>
Inherited Members

Remarks

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.

Properties

BinaryMap

Gets the binary map (final segmentation result).

public Tensor<T>? BinaryMap { get; init; }

Property Value

Tensor<T>

ProbabilityMap

Gets the probability map showing text likelihood at each pixel.

public Tensor<T>? ProbabilityMap { get; init; }

Property Value

Tensor<T>

ProcessingTimeMs

Gets the processing time in milliseconds.

public double ProcessingTimeMs { get; init; }

Property Value

double

RegionCount

Gets the number of detected text regions.

public int RegionCount { get; }

Property Value

int

TextRegions

Gets the detected text regions.

public IReadOnlyList<TextRegion<T>> TextRegions { get; init; }

Property Value

IReadOnlyList<TextRegion<T>>

ThresholdMap

Gets the threshold map (for models like DBNet that use adaptive thresholding).

public Tensor<T>? ThresholdMap { get; init; }

Property Value

Tensor<T>