A logical element on the page. A
FirebaseVisionCloudText.Block could contain multiple
FirebaseVisionCloudText.Paragraphs.
Public Method Summary
| Rect |
getBoundingBox()
Gets the bounding box for the block.
|
| float |
getConfidence()
Gets confidence of the OCR results for the block.
|
| List<FirebaseVisionCloudText.Paragraph> | |
| FirebaseVisionCloudText.TextProperty |
getTextProperty()
Gets additional information detected for the block.
|
Inherited Method Summary
Public Methods
public Rect getBoundingBox ()
Gets the bounding box for the block.
public float getConfidence ()
Gets confidence of the OCR results for the block. Range [0.0f, 1.0f].
public List<FirebaseVisionCloudText.Paragraph> getParagraphs ()
Gets the List of
FirebaseVisionCloudText.Paragraphs in the
FirebaseVisionCloudText.Block.
Returns an empty list if no Paragraph is found.
public FirebaseVisionCloudText.TextProperty getTextProperty ()
Gets additional information detected for the block.