Back to Tensorflow

ImageClassifier.ImageClassifierOptions

tensorflow/lite/g3doc/api_docs/java/org/tensorflow/lite/task/vision/classifier/ImageClassifier.ImageClassifierOptions.html

2.21.03.9 KB
Original Source

public static class ImageClassifier.ImageClassifierOptions

Options for setting up an ImageClassifier.

Nested Classes

| class | ImageClassifier.ImageClassifierOptions.Builder | A builder that helps to configure an instance of ImageClassifierOptions. |

Public Methods

| static ImageClassifier.ImageClassifierOptions.Builder | builder() | | BaseOptions | getBaseOptions() | | String | getDisplayNamesLocale() | | boolean | getIsScoreThresholdSet() | | List<String> | getLabelAllowList() | | List<String> | getLabelDenyList() | | int | getMaxResults() | | int | getNumThreads() | | float | getScoreThreshold() |

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 Methods

public static ImageClassifier.ImageClassifierOptions.Builder builder ()

public BaseOptions getBaseOptions ()

public String getDisplayNamesLocale ()

public boolean getIsScoreThresholdSet ()

public List<String> getLabelAllowList ()

public List<String> getLabelDenyList ()

public int getMaxResults ()

public int getNumThreads ()

public float getScoreThreshold ()