FirebaseVisionCloudDocumentRecognizerOptions.Builder

public static class FirebaseVisionCloudDocumentRecognizerOptions.Builder extends Object

Public Constructor Summary

Public Method Summary

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 Constructors

public FirebaseVisionCloudDocumentRecognizerOptions.Builder ()

Public Methods

public FirebaseVisionCloudDocumentRecognizerOptions.Builder enforceCertFingerprintMatch ()

Only allow registered application instances with matching certificate fingerprint to use Cloud Vision API.

Do not set this for debug build if you use simulators to test.

public FirebaseVisionCloudDocumentRecognizerOptions.Builder setLanguageHints (List<String> hintedLanguages)

Sets language hints. In most cases, an empty value yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting language hints is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong).

Each language code parameter typically consists of a BCP-47 identifier. See //cloud.google.com/vision/docs/languages for more details.

Get help quickly with Firebase support. Read our FAQs, Release notes, and guides, ask the community, then get direct support from the Firebase team.

Updated Oct 3, 2024

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Jan 23, 2024

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Nov 16, 2023