MLKitTextRecognition Framework Reference

Text

class Text : NSObject

Recognized text in an image.

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

    Declaration

    Swift

    var text: String { get }
  • An array of blocks recognized in the text.

    Declaration

    Swift

    var blocks: [MLKTextBlock] { get }
  • Unavailable.