FirebaseVisionText

public class FirebaseVisionText extends Object

A hierarchical representation of texts recognized by FirebaseVisionTextDetector.

A FirebaseVisionText contains a list of FirebaseVisionText.Block, and a FirebaseVisionText.Block contains a list of FirebaseVisionText.Line which is composed of a list of FirebaseVisionText.Element.

Nested Class Summary

class FirebaseVisionText.Block A block of text (think of it as a paragraph) as deemed by the OCR engine. 
class FirebaseVisionText.Element Roughly equivalent to a space-separated "word" in most Latin languages, or a character in others. 
class FirebaseVisionText.Line Represents a line of text. 

Public Method Summary

List<FirebaseVisionText.Block>
getBlocks()
Gets an unmodifiable list of FirebaseVisionText.Block, which is a block of text and can be further decomposed to a list of FirebaseVisionText.Line.

Inherited Method Summary

Public Methods

public List<FirebaseVisionText.Block> getBlocks ()

Gets an unmodifiable list of FirebaseVisionText.Block, which is a block of text and can be further decomposed to a list of FirebaseVisionText.Line.

Send feedback about...

Need help? Visit our support page.