Enum FieldValidationStatus
- Namespace
- ScanbotSDK.MAUI.Core.GenericDocument
- Assembly
- ScanbotSDK.Shared.dll
[JsonConverter(typeof(FieldValidationStatusConverter))]
public enum FieldValidationStatus
Fields
Confirmed = 3The same field value was recognized in multiple frames, thereby confirming the value. Occurs only for fields that have no validation rules otherwise. A CONFIRMED value gives a strong guarantee that the field value has been read out without errors, but not as strong as VALID. The value may still be incorrect, due to systemic OCR errors. In case of OCR errors, increase the number of frames needed to confirm the value in the recognizer configuration.
Ignored = 6The document contains a field of this type, but recognition for this field is disabled. The value of this field is always empty, although the field may be non-empty in the document.
Inferred = 4Field value was inferred from other fields or from domain knowledge. The field value may differ from what is actually written in the document in unexpected situations.
Invalid = 0Field value failed validation. This status is used for fields that have validation rules, like IBAN, date fields, etc. that have check digits or a known format that can be validated.
None = 2Field value was not validated, typically because the field does not support validation and the value has not been seen enough times to confirm it. If the same value is seen in multiple frames, the validation status will transition to CONFIRMED, but only if that particular recognizer supports multiple frame accumulation.
Obstructed = 1Field value was not recognized because it was obstructed by e.g. a light reflection or a shadow.
Valid = 5Field value passed validation. This status is used for fields that have validation rules, like IBAN, date fields, etc. that have check digits or a known format that can be validated. The VALID status gives the strongest guarantee that the field value has been read out without errors.