GSKOCRResult

Objective-C

@interface GSKOCRResult : NSObject

Swift

class GSKOCRResult : NSObject

The result of an OCR operation.

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithText:(NSString *)text textLayout:(GSKTextLayout *)textLayout;

    Swift

    init(text: String, textLayout: GSKTextLayout)
  • The raw text recognized in the document

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull text;

    Swift

    var text: String { get }
  • The text layout of the recognized text

    Declaration

    Objective-C

    @property (nonatomic, readonly) GSKTextLayout *_Nonnull textLayout;

    Swift

    var textLayout: GSKTextLayout { get }