FirebaseVisionCloudText.Paragraph

public static class FirebaseVisionCloudText.Paragraph extends Object

A structural unit of text representing a number of words in certain order.

Public Method Summary

Rect
getBoundingBox()
Gets the bounding box for the FirebaseVisionCloudText.Paragraph.
float
getConfidence()
Gets confidence of the OCR results for the FirebaseVisionCloudText.Paragraph.
FirebaseVisionCloudText.TextProperty
getTextProperty()
Gets additional information detected for the FirebaseVisionCloudText.Paragraph.
List<FirebaseVisionCloudText.Word>

Inherited Method Summary

Public Methods

public Rect getBoundingBox ()

Gets the bounding box for the FirebaseVisionCloudText.Paragraph.

public float getConfidence ()

Gets confidence of the OCR results for the FirebaseVisionCloudText.Paragraph. Range [0.0f, 1.0f].

public FirebaseVisionCloudText.TextProperty getTextProperty ()

Gets additional information detected for the FirebaseVisionCloudText.Paragraph.

public List<FirebaseVisionCloudText.Word> getWords ()

Gets the List of FirebaseVisionCloudText.Words in the FirebaseVisionCloudText.Paragraph.

Returns an empty list if no Word is found.