FirebaseVisionCloudTextRecognizerOptions

public class FirebaseVisionCloudTextRecognizerOptions extends Object

Represents the cloud text recognizer options.

Nested Class Summary

Constant Summary

int DENSE_MODEL Dense model type.
int SPARSE_MODEL Sparse model type.

Public Method Summary

boolean
List<String>
getHintedLanguages()
Gets the hinted language list in the options.
int
getModelType()
Gets the cloud model type in the options.
int

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()

Constants

public static final int DENSE_MODEL

Dense model type. It is more suitable for well-formatted dense text.

Constant Value: 2

public static final int SPARSE_MODEL

Sparse model type. It is more suitable for sparse text.

Constant Value: 1

Public Methods

public boolean equals (Object o)

public List<String> getHintedLanguages ()

Gets the hinted language list in the options.

public int getModelType ()

Gets the cloud model type in the options.

Default is SPARSE_MODEL

public int hashCode ()

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

Diperbarui Aug 8, 2020

Firebase menyediakan fitur dan infrastruktur yang Anda perlukan untuk membuat aplikasi seluler dan web yang lebih baik, menyempurnakan kualitas aplikasi, dan mengembangkan bisnis Anda.

Diperbarui Feb 26, 2025

Dengan Firebase ML, Anda dapat menambahkan fitur machine learning yang canggih ke aplikasi Anda dengan API yang siap pakai dan dukungan untuk deployment model kustom.

Diperbarui Feb 26, 2025