ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

ImageClassifier.ImageClassifierOptions

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
BaseOptions
String
boolean
List<String>
List<String>
int
int
float

Inherited Methods

Public Methods

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