MLKitTextRecognition Framework Reference

Classes

The following classes are available globally.

  • Recognized text in an image.

    Declaration

    Swift

    class Text : NSObject
  • A text block recognized in an image that consists of an array of text lines.

    Declaration

    Swift

    class TextBlock : NSObject
  • A text element recognized in an image. A text element is roughly equivalent to a space-separated word in most Latin-script languages.

    Declaration

    Swift

    class TextElement : NSObject
  • A text line recognized in an image that consists of an array of elements.

    Declaration

    Swift

    class TextLine : NSObject
  • Detected language from text recognition.

    Declaration

    Swift

    class TextRecognizedLanguage : NSObject
  • A text recognizer that recognizes text in an image.

    Declaration

    Swift

    class TextRecognizer : NSObject