Packagecom.tuarua.firebase.ml.vision.document
Classpublic class DocumentTextParagraph
InheritanceDocumentTextParagraph Inheritance Object

A document text paragraph recognized in an image that consists of an array of words.



Public Properties
 PropertyDefined By
  confidence : Number
The confidence of the recognized document text paragraph.
DocumentTextParagraph
  frame : Rectangle
The rectangle that contains the document text paragraph relative to the image in the default coordinate space.
DocumentTextParagraph
  recognizedBreak : RecognizedBreak
The recognized start or end of the document text paragraph.
DocumentTextParagraph
  recognizedLanguages : Vector.<TextRecognizedLanguage>
An array of recognized languages in the document text paragraph.
DocumentTextParagraph
  text : String
String representation of the document text paragraph that was recognized.
DocumentTextParagraph
  words : Vector.<DocumentTextWord>
[read-only] An array of words in the document text paragraph.
DocumentTextParagraph
Property Detail
confidenceproperty
public var confidence:Number

The confidence of the recognized document text paragraph.

frameproperty 
public var frame:Rectangle

The rectangle that contains the document text paragraph relative to the image in the default coordinate space.

recognizedBreakproperty 
public var recognizedBreak:RecognizedBreak

The recognized start or end of the document text paragraph.

recognizedLanguagesproperty 
public var recognizedLanguages:Vector.<TextRecognizedLanguage>

An array of recognized languages in the document text paragraph. If no languages are recognized, the array is empty.

textproperty 
public var text:String

String representation of the document text paragraph that was recognized.

wordsproperty 
words:Vector.<DocumentTextWord>  [read-only]

An array of words in the document text paragraph.


Implementation
    public function get words():Vector.<DocumentTextWord>