Table of Contents

Class GenericDocument

Namespace
ScanbotSDK.MAUI.Common
Assembly
ScanbotSDK.Shared.dll

Generic document.

public class GenericDocument : IDisposable
Inheritance
GenericDocument
Implements
Inherited Members

Properties

Children

List of document sub-documents.

public required GenericDocument[] Children { get; init; }

Property Value

GenericDocument[]

Confidence

The average confidence in the accuracy of the document recognition result.

Default is 0

public double Confidence { get; init; }

Property Value

double

ConfidenceWeight

The weight of the confidence. Can be used to calculate the weighted average confidence of two documents.

Default is 0

public double ConfidenceWeight { get; init; }

Property Value

double

Crop

Image crop of the document.

public ImageRef Crop { get; init; }

Property Value

ImageRef

Fields

List of document fields.

public required Field[] Fields { get; init; }

Property Value

Field[]

Quad

Coordinates of the document in the parent document coordinate system.

public required PointF[] Quad { get; init; }

Property Value

PointF[]

QuadInRoot

Coordinates of the document in the root document coordinate system.

public required PointF[] QuadInRoot { get; init; }

Property Value

PointF[]

Type

Document type.

public required GenericDocumentType Type { get; init; }

Property Value

GenericDocumentType

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()