Back to Tensorflow

ImageSearcher.ImageSearcherOptions.Builder

tensorflow/lite/g3doc/api_docs/java/org/tensorflow/lite/task/vision/searcher/ImageSearcher.ImageSearcherOptions.Builder.html

2.21.03.2 KB
Original Source

public static abstract class ImageSearcher.ImageSearcherOptions.Builder

Builder for ImageSearcher.ImageSearcherOptions.

Public Constructors

| | Builder() |

Public Methods

| abstract ImageSearcher.ImageSearcherOptions | build() | | abstract ImageSearcher.ImageSearcherOptions.Builder | setBaseOptions(BaseOptions baseOptions) Sets the general options to configure Task APIs, such as accelerators.

| | abstract ImageSearcher.ImageSearcherOptions.Builder | setSearcherOptions(SearcherOptions searcherOptions) Sets the options to configure Searcher API.

|

Inherited Methods

From class java.lang.Object

| boolean | equals(Object arg0) | | 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 Builder ()

Public Methods

public abstract ImageSearcher.ImageSearcherOptions build ()

public abstract ImageSearcher.ImageSearcherOptions.Builder setBaseOptions (BaseOptions baseOptions)

Sets the general options to configure Task APIs, such as accelerators.

Parameters

| baseOptions | |

public abstract ImageSearcher.ImageSearcherOptions.Builder setSearcherOptions (SearcherOptions searcherOptions)

Sets the options to configure Searcher API.

Parameters

| searcherOptions | |