Class OcrPassportResult
Result from ReadPassport(OcrInputBase)
Give an access to: Text, Confidence, and PassportInfo.
Inheritance
System.Object
OcrPassportResult
Implements
IronSoftware.Abstractions.Ocr.IOcrResult
Namespace: IronOcr
Assembly: IronOcr.dll
Syntax
public class OcrPassportResult : Object, IOcrResult
Properties
Confidence
OCR statistical accuracy confidence as an average of every character.
1 = 100%, 0 = 0%.
Declaration
public double Confidence { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
PassportInfo
Passport informations decoded from MRZ and VIZ.
MRZ fields: Document type, Surname, Given names, Passport No., Country / IssuingCountryCode, Nationality / NationalityCode, Date of birth, Gender, Date of expiry, Personal number.
VIZ fields (best-effort): Date of issue.
Raw codes: Use IssuingCountryCode / NationalityCode for custom localization instead of the English-mapped Country / Nationality names.
Declaration
public PassportInfo PassportInfo { get; }
Property Value
| Type | Description |
|---|---|
| PassportInfo |
Text
All Ocr texts from OcrInput.
Declaration
public string Text { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Implements
IronSoftware.Abstractions.Ocr.IOcrResult