public static class FirebaseVisionCloudText.Symbol extends Object
A single symbol representation.
Public Method Summary
Rect |
getBoundingBox()
Gets the bounding box for the symbol.
|
float |
getConfidence()
Gets confidence of the OCR results for the symbol.
|
String |
getText()
Gets the UTF-8 representation of the symbol.
|
FirebaseVisionCloudText.TextProperty |
getTextProperty()
Gets additional information detected for the symbol.
|
Inherited Method Summary
Public Methods
public Rect getBoundingBox ()
Gets the bounding box for the symbol.
public float getConfidence ()
Gets confidence of the OCR results for the symbol. Range [0.0f, 1.0f].
public String getText ()
Gets the UTF-8 representation of the symbol.
Returns an empty string if nothing is found.
public FirebaseVisionCloudText.TextProperty getTextProperty ()
Gets additional information detected for the symbol.