OutputHandler.OutputPacketConverter

public static interface OutputHandler.OutputPacketConverter

Interface for converting MediaPipe graph output ERROR(/Packet)s to task result object and task input object.

Public Methods

abstract InputT
convertToTaskInput(List<Packet> packets)
abstract OutputT
convertToTaskResult(List<Packet> packets)

Public Methods

public abstract InputT convertToTaskInput (List<Packet> packets)

Parameters
packets

public abstract OutputT convertToTaskResult (List<Packet> packets)

Parameters
packets