public abstract class
TaskOptions
MediaPipe Tasks options base class. Any MediaPipe task-specific options class should extend
TaskOptions
and implement exactly one of convertTo*Proto() methods.
Public Constructors
Public Methods
Any |
convertToAnyProto()
Converts a MediaPipe Tasks task-specific options to an proto3
ERROR(/Any) message. |
CalculatorOptions |
convertToCalculatorOptionsProto()
Converts a MediaPipe Tasks task-specific options to a
ERROR(/CalculatorOptions) protobuf
message. |
Inherited Methods
Public Constructors
public TaskOptions ()
Public Methods
public Any convertToAnyProto ()
Converts a MediaPipe Tasks task-specific options to an proto3 ERROR(/Any)
message.
public CalculatorOptions convertToCalculatorOptionsProto ()
Converts a MediaPipe Tasks task-specific options to a ERROR(/CalculatorOptions)
protobuf
message.