VisionDocumentTextParagraph

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

    Swift

    var text: String { get }
  • An array of words in the document text paragraph.

    Declaration

    Swift

    var words: [FIRVisionDocumentTextWord] { get }
  • The rectangle that contains the document text paragraph relative to the image in the default coordinate space.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    var recognizedBreak: FIRVisionTextRecognizedBreak? { get }
  • Unavailable.