ALOCRError Constants Reference

Declared in AnylineOCRModuleView.h

ALOCRError

The possible run error codes for this module. You can listen to the error codes for each run via the delegate method anylineOCRModuleView:reportsRunFailure:

Definition

typedef NS_ENUM(NSInteger, ALOCRError ) {
   ALOCRErrorUnkown = -1,
   ALOCRErrorNoLinesFound = -2,
   ALOCRErrorNoTextFound = -3,
   ALOCRErrorConfidenceNotReached = -4,
   ALOCRErrorResultNotValid = -5,
   ALOCRErrorSharpnessNotReached = -6,
};

Constants

ALOCRErrorUnkown

An unknown error occurred.

Declared In AnylineOCRModuleView.h.

ALOCRErrorNoLinesFound

No text lines found in imag

Declared In AnylineOCRModuleView.h.

ALOCRErrorNoTextFound

No text found in lines

Declared In AnylineOCRModuleView.h.

ALOCRErrorConfidenceNotReached

The required min confidence is not reached for this run

Declared In AnylineOCRModuleView.h.

ALOCRErrorResultNotValid

The result does not match the validation regular expression

Declared In AnylineOCRModuleView.h.

ALOCRErrorSharpnessNotReached

The min sharpness for this run is not reached

Declared In AnylineOCRModuleView.h.

Declared In

AnylineOCRModuleView.h