Packagecom.tuarua.firebase.ml.vision.document
Classpublic class DocumentTextWord
InheritanceDocumentTextWord Inheritance Object

A document text word recognized in an image that consists of an array of symbols.



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

The confidence of the recognized document text word.

frameproperty 
public var frame:Rectangle

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

recognizedBreakproperty 
public var recognizedBreak:RecognizedBreak

The recognized start or end of the document text word.

recognizedLanguagesproperty 
public var recognizedLanguages:Vector.<TextRecognizedLanguage>

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

symbolsproperty 
symbols:Vector.<DocumentTextSymbol>  [read-only]

An array of symbols in the document text word.


Implementation
    public function get symbols():Vector.<DocumentTextSymbol>
textproperty 
public var text:String

String representation of the document text word that was recognized.