Packagecom.tuarua.firebase.ml.vision.document
Classpublic class DocumentTextBlock
InheritanceDocumentTextBlock Inheritance Object



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

The confidence of the recognized document text block.

frameproperty 
public var frame:Rectangle

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

paragraphsproperty 
paragraphs:Vector.<DocumentTextParagraph>  [read-only]

An array of paragraphs in the block if the type is DocumentBlockType.text. Otherwise, the array is empty.


Implementation
    public function get paragraphs():Vector.<DocumentTextParagraph>
recognizedBreakproperty 
public var recognizedBreak:RecognizedBreak

The recognized start or end of the document text block.

recognizedLanguagesproperty 
public var recognizedLanguages:Vector.<TextRecognizedLanguage>

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

textproperty 
public var text:String

String representation of the document text block that was recognized.

typeproperty 
public var type:uint

The detected block type.