Class PageSegmentationResult<T>
Represents the result of page segmentation.
public class PageSegmentationResult<T>
Type Parameters
TThe numeric type used for calculations.
- Inheritance
-
PageSegmentationResult<T>
- Inherited Members
Remarks
For Beginners: Page segmentation divides a document page into different types of regions (paragraphs, figures, tables, etc.). This result contains all detected regions with their types and locations.
Properties
ClassProbabilities
Gets the class probabilities for each pixel (shape: [height, width, num_classes]).
public Tensor<T>? ClassProbabilities { get; init; }
Property Value
- Tensor<T>
ProcessingTimeMs
Gets the processing time in milliseconds.
public double ProcessingTimeMs { get; init; }
Property Value
ReadingOrder
Gets the reading order of text regions (indices into Regions list).
public IReadOnlyList<int> ReadingOrder { get; init; }
Property Value
RegionCount
Gets the total number of detected regions.
public int RegionCount { get; }
Property Value
Regions
Gets the detected document regions.
public IReadOnlyList<DocumentRegion<T>> Regions { get; init; }
Property Value
SegmentationMask
Gets the pixel-level segmentation mask (class index per pixel).
public Tensor<T>? SegmentationMask { get; init; }
Property Value
- Tensor<T>