FirebaseMLVision Framework Reference

VisionDocumentTextSymbol

class VisionDocumentTextSymbol : NSObject

A document text symbol recognized in an image.

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

    Declaration

    Swift

    var text: String { get }
  • The rectangle that contains the document text symbol relative to the image in the default coordinate space.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    var recognizedBreak: FIRVisionTextRecognizedBreak? { get }
  • Unavailable.