SBSDKOCRResult

@interface SBSDKOCRResult : NSObject <NSCopying>

This class summarizes the results of an optical character recognition (OCR) operation for number of pages. It contains the array of SBSDKOCRPages. For convenience this immutable class conforms to NSCopying protocol.

  • The complete recognized text of the OCR operation.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSString *recognizedText;

    Swift

    var recognizedText: String { get }
  • Array of pages with OCR data

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSArray<SBSDKOCRPage *> *pages;

    Swift

    var pages: [SBSDKOCRPage] { get }