RTRCallbackWarningCode enumeration

Documentation Menu

A warning that occurred during processing.

typedef NS_ENUM(NSInteger, RTRCallbackWarningCode) {
    RTRCallbackWarningNoWarning,
    RTRCallbackWarningRecognitionIsSlow,
    RTRCallbackWarningProbablyLowQualityImage,
    RTRCallbackWarningProbablyWrongLanguage,
    RTRCallbackWarningWrongLanguage,
    RTRCallbackWarningTextTooSmall
};

Constants

Name

Description

RTRCallbackWarningProbablyLowQualityImage

The image quality (contrast, resolution) may not be good enough for accurate results.

RTRCallbackWarningProbablyWrongLanguage

The recognition language may be specified incorrectly.

RTRCallbackWarningRecognitionIsSlow

Recognition takes too much time. Check if there is some problem.

RTRCallbackWarningTextTooSmall

The text is too small. Advise the end user to move the camera closer or zoom in.

RTRCallbackWarningWrongLanguage

The recognition language is specified incorrectly.