Builder of
FirebaseVisionCloudTextRecognizerOptions.
| FirebaseVisionCloudTextRecognizerOptions |
build()
Builds the
FirebaseVisionCloudTextRecognizerOptions.
|
| FirebaseVisionCloudTextRecognizerOptions.Builder |
enforceCertFingerprintMatch()
Only allow registered application instances with matching certificate
fingerprint to use Cloud Vision API.
|
| FirebaseVisionCloudTextRecognizerOptions.Builder | |
| FirebaseVisionCloudTextRecognizerOptions.Builder |
setModelType(int modelType)
Sets model type for cloud text recognition.
|
Builds the
FirebaseVisionCloudTextRecognizerOptions.
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.
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.
Sets model type for cloud text recognition. The two model
SPARSE_MODEL and
DENSE_MODEL are different models, which could handle different text
densities in an image.