ClassifierOptions

public abstract class ClassifierOptions

Classifier options shared across MediaPipe Java classification tasks.

Nested Classes

class ClassifierOptions.Builder Builder for ClassifierOptions

Public Constructors

Public Methods

static ClassifierOptions.Builder
abstract List<String>
abstract List<String>
ClassifierOptionsProto.ClassifierOptions
abstract Optional<String>
abstract Optional<Integer>
abstract Optional<Float>

Inherited Methods

Public Constructors

public ClassifierOptions ()

Public Methods

public static ClassifierOptions.Builder builder ()

public abstract List<String> categoryAllowlist ()

public abstract List<String> categoryDenylist ()

public ClassifierOptionsProto.ClassifierOptions convertToProto ()

public abstract Optional<String> displayNamesLocale ()

public abstract Optional<Integer> maxResults ()

public abstract Optional<Float> scoreThreshold ()