FirebaseMLVision Framework Reference

VisionDocumentTextWord

classVisionDocumentTextWord:NSObject

A document text word recognized in an image that consists of an array of symbols.

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

    Declaration

    Swift

    vartext:String{get}
  • An array of symbols in the document text word.

    Declaration

    Swift

    varsymbols:[FIRVisionDocumentTextSymbol]{get}
  • The rectangle that contains the document text word relative to the image in the default coordinate space.

    Declaration

    Swift

    varframe:CGRect{get}
  • The confidence of the recognized document text word.

    Declaration

    Swift

    varconfidence:NSNumber{get}
  • An array of recognized languages in the document text word. If no languages are recognized, the array is empty.

    Declaration

    Swift

    varrecognizedLanguages:[FIRVisionTextRecognizedLanguage]{get}
  • The recognized start or end of the document text word.

    Declaration

    Swift

    varrecognizedBreak:FIRVisionTextRecognizedBreak?{get}
  • Unavailable.

close