FirebaseMLVision Framework Reference

FIRVisionDocumentTextParagraph


@interface FIRVisionDocumentTextParagraph : NSObject

A document text paragraph recognized in an image that consists of an array of words.

  • String representation of the document text paragraph that was recognized.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull text;
  • An array of words in the document text paragraph.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<FIRVisionDocumentTextWord *> *_Nonnull words;
  • The rectangle that contains the document text paragraph relative to the image in the default coordinate space.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGRect frame;
  • The confidence of the recognized document text paragraph.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull confidence;
  • An array of recognized languages in the document text paragraph. If no languages are recognized, the array is empty.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<FIRVisionTextRecognizedLanguage *> *_Nonnull recognizedLanguages;
  • The recognized start or end of the document text paragraph.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) FIRVisionTextRecognizedBreak *recognizedBreak;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;