TextRecognizer.Builder

public static class TextRecognizer.Builder extends Object

TextRecognizer Builder. Use this class to create TextRecognizer instances.

Public Constructor Summary

Builder(Context context)
Creates a TextRecognizer Builder with the supplied context.

Public Method Summary

TextRecognizer
build()
Creates a TextRecognizer instance.

Inherited Method Summary

Public Constructors

public Builder (Context context)

Creates a TextRecognizer Builder with the supplied context.

Public Methods

public TextRecognizer build ()

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.