FirebaseMLVision Framework Reference

VisionDocumentTextWord

class VisionDocumentTextWord : 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

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    var recognizedBreak: FIRVisionTextRecognizedBreak? { get }
  • Unavailable.