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

ObjectDetector.ObjectDetectorOptions

public static class ObjectDetector.ObjectDetectorOptions

Options for setting up an ObjectDetector.

Nested Classes

class ObjectDetector.ObjectDetectorOptions.Builder A builder that helps to configure an instance of ObjectDetectorOptions. 

Public Methods

static ObjectDetector.ObjectDetectorOptions.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 ()