FirebaseMLVision Framework Reference

FIRVisionDocumentTextSymbol


@interface FIRVisionDocumentTextSymbol : NSObject

A document text symbol recognized in an image.

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull text;
  • The rectangle that contains the document text symbol relative to the image in the default coordinate space.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull confidence;
  • An array of recognized languages in the document text symbol. 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 symbol.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    - (nonnull instancetype)init;