Table of Contents

Class CharacterRecognition<T>

Namespace
AiDotNet.Document
Assembly
AiDotNet.dll

Represents a single recognized character with its confidence.

public class CharacterRecognition<T>

Type Parameters

T

The numeric type used for calculations.

Inheritance
CharacterRecognition<T>
Inherited Members

Properties

Alternatives

Gets alternative characters with their probabilities.

public IReadOnlyList<(char Character, double Probability)> Alternatives { get; init; }

Property Value

IReadOnlyList<(char Character, double Probability)>

Character

Gets the recognized character.

public char Character { get; init; }

Property Value

char

Confidence

Gets the confidence score for this character.

public T Confidence { get; init; }

Property Value

T

ConfidenceValue

Gets the confidence as a double value.

public double ConfidenceValue { get; init; }

Property Value

double

Position

Gets the position in the sequence (0-based index).

public int Position { get; init; }

Property Value

int