Google is committed to advancing racial equity for Black communities. See how.


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

Gets the detected text.

Inherited Method Summary

Public Methods

public String getText ()

Gets the detected text. Returns empty string if nothing is found.