java.lang.Object | |
↳ | com.google.android.gms.vision.text.TextRecognizer.Builder |
TextRecognizer Builder. Use this class to create TextRecognizer instances.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a TextRecognizer Builder with the supplied context.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a
TextRecognizer instance. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a TextRecognizer Builder with the supplied context.
Parameters | |
---|---|
context |
Context
|
Creates a TextRecognizer
instance.
Note that this method may cause blocking disk reads and should not be called on an
application's main thread. To avoid blocking the main thread, consider moving Detector
construction to a background thread using AsyncTask
. Enable
StrictMode
to automatically detect blocking operations on the main
thread.
Returns | |
---|---|
TextRecognizer |