MLKitTextRecognitionCommon Framework Reference

MLKText


@interface MLKText : NSObject

Recognized text in an image.

  • The recognized text. The string is empty if no text was recognized.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull text;
  • An array of blocks recognized in the text.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<MLKTextBlock *> *_Nonnull blocks;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;