FirebaseVisionCloudText.Page

public static class FirebaseVisionCloudText.Page extends Object

Detected page from cloud OCR engine.

Public Method Summary

List<FirebaseVisionCloudText.Block>
float
getConfidence()
Gets confidence of the OCR results for the page.
int
getHeight()
Gets the height of the page.
FirebaseVisionCloudText.TextProperty
getTextProperty()
Gets additional information detected for the page, such as language, text breaks.
int
getWidth()
Gets the width of the page.

Inherited Method Summary

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public float getConfidence ()

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

public int getHeight ()

Gets the height of the page.

public FirebaseVisionCloudText.TextProperty getTextProperty ()

Gets additional information detected for the page, such as language, text breaks.

public int getWidth ()

Gets the width of the page.