| Package | com.tuarua.firebase.ml.vision.document |
| Class | public class DocumentTextBlock |
| Inheritance | DocumentTextBlock Object |
| Property | Defined 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 | ||
| confidence | property |
public var confidence:NumberThe confidence of the recognized document text block.
| frame | property |
public var frame:RectangleThe rectangle that contains the document text block relative to the image in the default coordinate space.
| paragraphs | property |
paragraphs:Vector.<DocumentTextParagraph> [read-only]
An array of paragraphs in the block if the type is DocumentBlockType.text. Otherwise,
the array is empty.
public function get paragraphs():Vector.<DocumentTextParagraph>| recognizedBreak | property |
public var recognizedBreak:RecognizedBreakThe recognized start or end of the document text block.
| recognizedLanguages | property |
public var recognizedLanguages:Vector.<TextRecognizedLanguage>An array of recognized languages in the document text block. If no languages are recognized, the array is empty.
| text | property |
public var text:StringString representation of the document text block that was recognized.
| type | property |
public var type:uintThe detected block type.