A logical element on the page. A
FirebaseVisionDocumentText.Block could contain multiple
FirebaseVisionDocumentText.Paragraphs.
| Rect |
getBoundingBox()
Gets the bounding box for the recognized text.
|
| Float |
getConfidence()
Gets confidence of the OCR results for the recognized text.
|
| List<FirebaseVisionDocumentText.Paragraph> | |
| FirebaseVisionDocumentText.RecognizedBreak |
getRecognizedBreak()
Gets the recognized break.
|
| List<RecognizedLanguage> |
getRecognizedLanguages()
Gets the recognized languages.
|
| String |
getText()
Gets the UTF-8 representation of the recognized text.
|
Gets the bounding box for the recognized text.
Gets confidence of the OCR results for the recognized text.
Returns null if no confidence available. Otherwise, its range is [0.0f, 1.0f].
Gets the List of
FirebaseVisionDocumentText.Paragraphs in the
FirebaseVisionDocumentText.Block.
Returns an empty list if no Paragraph is found.
Gets the recognized break.
Gets the recognized languages.
Gets the UTF-8 representation of the recognized text.
Returns an empty string if nothing is found.