MLKitTextRecognitionCommon Framework Reference

  • This documentation outlines globally available classes for ML Kit Text Recognition in iOS.

  • These classes allow developers to process and interact with recognized text from images.

  • The classes include options for text recognizers, representations of recognized text at various levels (text, block, line, element), and identified languages.

  • Developers can utilize these classes to extract and manipulate textual information from images within their applications.

Classes

The following classes are available globally.

  • Common options for ML Kit Text Recognizer.

    Declaration

    Objective-C

    
    @interface MLKCommonTextRecognizerOptions : NSObject
  • Recognized text in an image.

    Declaration

    Objective-C

    
    @interface MLKText : NSObject
  • A text block recognized in an image that consists of an array of text lines.

    Declaration

    Objective-C

    
    @interface MLKTextBlock : NSObject
  • A text element recognized in an image. A text element is a space-separated segment in a text line (for example, a word in most Latin-script languages).

    Declaration

    Objective-C

    
    @interface MLKTextElement : NSObject
  • A text line recognized in an image that consists of an array of elements.

    Declaration

    Objective-C

    
    @interface MLKTextLine : NSObject
  • Detected language from text recognition.

    Declaration

    Objective-C

    
    @interface MLKTextRecognizedLanguage : NSObject
  • A text recognizer that recognizes text in an image.

    Declaration

    Objective-C

    
    @interface MLKTextRecognizer : NSObject