Package | com.tuarua.firebase.ml.vision.text |
Class | public class CloudTextLine |
Inheritance | CloudTextLine ![]() |
Property | Defined By | ||
---|---|---|---|
confidence : Number
The confidence of the recognized text line. | CloudTextLine | ||
cornerPoints : Vector.<Point>
The four corner points of the text line in clockwise order starting with the top left point
relative to the image in the default coordinate space. | CloudTextLine | ||
elements : Vector.<CloudTextElement>
An array of text elements that make up the line. | CloudTextLine | ||
frame : Rectangle
The rectangle that contains the text line relative to the image in the default coordinate space. | CloudTextLine | ||
recognizedLanguages : Vector.<TextRecognizedLanguage>
An array of recognized languages in the text line. | CloudTextLine | ||
text : String
String representation of the text line that was recognized. | CloudTextLine |
confidence | property |
public var confidence:Number
The confidence of the recognized text line. The value is null
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 line in clockwise order starting with the top left point
relative to the image in the default coordinate space. The objects are flash.geom.Point
s.
elements | property |
public var elements:Vector.<CloudTextElement>
An array of text elements that make up the line.
frame | property |
public var frame:Rectangle
The rectangle that contains the text line relative to the image in the default coordinate space.
recognizedLanguages | property |
public var recognizedLanguages:Vector.<TextRecognizedLanguage>
An array of recognized languages in the text line. 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:String
String representation of the text line that was recognized.