SBSDKGenericDocumentOcrResult

@interface SBSDKGenericDocumentOcrResult : NSObject

A generic documents fields result of OCR text recognition.

  • The recognized text of the field.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) NSString *text;

    Swift

    var text: String { get set }
  • Confidence in result accuracy. The value ranges from 0.0 to 1.0, higher is better.

    Declaration

    Objective-C

    @property (nonatomic) float confidence;

    Swift

    var confidence: Float { get set }