public class FirebaseVisionDocumentText extends Object
Represents detected text by FirebaseVisionDocumentTextRecognizer.
Nested Class Summary
| class | FirebaseVisionDocumentText.Block | A logical element on the page. | |
| class | FirebaseVisionDocumentText.Paragraph | A structural unit of text representing a number of words in certain order. | |
| class | FirebaseVisionDocumentText.RecognizedBreak | Detected start or end of a structural component. | |
| class | FirebaseVisionDocumentText.Symbol | A single symbol representation. | |
| class | FirebaseVisionDocumentText.Word | A single word representation. | |
Public Method Summary
| List<FirebaseVisionDocumentText.Block> | getBlocks() Gets the List of FirebaseVisionDocumentText.Blocks. |
| String | getText() Gets the detected text. |
Inherited Method Summary
Public Methods
public List<FirebaseVisionDocumentText.Block> getBlocks ()
Gets the List of FirebaseVisionDocumentText.Blocks.
public String getText ()
Gets the detected text. Returns empty string if nothing is found.