| Package | com.tuarua.firebase.ml.vision.text |
| Class | public class CloudTextElement |
| Inheritance | CloudTextElement Object |
| Property | Defined By | ||
|---|---|---|---|
| confidence : Number
The confidence of the recognized text element. | CloudTextElement | ||
| cornerPoints : Vector.<Point>
The four corner points of the text element in clockwise order starting with the top left point
relative to the image in the default coordinate space. | CloudTextElement | ||
| frame : Rectangle
The rectangle that contains the text element relative to the image in the default coordinate
space. | CloudTextElement | ||
| lines : Vector.<CloudTextLine>
An array of text lines that make up the block. | CloudTextElement | ||
| recognizedLanguages : Vector.<TextRecognizedLanguage>
An array of recognized languages in the text element. | CloudTextElement | ||
| text : String
String representation of the text element that was recognized. | CloudTextElement | ||
| confidence | property |
public var confidence:Number
The confidence of the recognized text element. The value is 0 for all text recognizers except
for cloud text recognizers with model type VisionCloudTextModelType.dense.
| cornerPoints | property |
public var cornerPoints:Vector.<Point>
The four corner points of the text element in clockwise order starting with the top left point
relative to the image in the default coordinate space. The objects are flash.geom.Points.
| frame | property |
public var frame:RectangleThe rectangle that contains the text element relative to the image in the default coordinate space.
| lines | property |
public var lines:Vector.<CloudTextLine>An array of text lines that make up the block.
| recognizedLanguages | property |
public var recognizedLanguages:Vector.<TextRecognizedLanguage>An array of recognized languages in the text element. On-device text recognizers only detect Latin-based languages, while cloud text recognizers can detect multiple languages. If no languages are recognized, the array is empty.
| text | property |
public var text:StringString representation of the text element that was recognized.