Module: mp.packet_getter

The public facing packet getter APIs.

Modules

mp_packet module: MediaPipe packet module.

Functions

get_bool(...): get_bool(arg0: mediapipe.python._framework_bindings.packet.Packet) -> bool

get_bool_list(...): get_bool_list(arg0: mediapipe.python._framework_bindings.packet.Packet) -> List[bool]

get_bytes(...): get_bytes(arg0: mediapipe.python._framework_bindings.packet.Packet) -> bytes

get_float(...): get_float(arg0: mediapipe.python._framework_bindings.packet.Packet) -> float

get_float_list(...): get_float_list(arg0: mediapipe.python._framework_bindings.packet.Packet) -> List[float]

get_image(...): get_image(arg0: mediapipe.python._framework_bindings.packet.Packet) -> mediapipe.python._framework_bindings.image.Image

get_image_frame(...): get_image_frame(arg0: mediapipe.python._framework_bindings.packet.Packet) -> mediapipe.python._framework_bindings.image_frame.ImageFrame

get_image_list(...): get_image_list(arg0: mediapipe.python._framework_bindings.packet.Packet) -> List[mediapipe.python._framework_bindings.image.Image]

get_int(...): get_int(arg0: mediapipe.python._framework_bindings.packet.Packet) -> int

get_int_list(...): get_int_list(arg0: mediapipe.python._framework_bindings.packet.Packet) -> List[int]

get_matrix(...): get_matrix(arg0: mediapipe.python._framework_bindings.packet.Packet) -> numpy.ndarray[numpy.float32[m, n], flags.f_contiguous]

get_packet_list(...): get_packet_list(arg0: mediapipe.python._framework_bindings.packet.Packet) -> List[mediapipe.python._framework_bindings.packet.Packet]

get_proto(...): Get the content of a MediaPipe proto Packet as a proto message.

get_proto_list(...): Get the content of a MediaPipe proto vector Packet as a proto message list.

get_str(...): get_str(arg0: mediapipe.python._framework_bindings.packet.Packet) -> str

get_str_list(...): get_str_list(arg0: mediapipe.python._framework_bindings.packet.Packet) -> List[str]

get_str_to_packet_dict(...): get_str_to_packet_dict(arg0: mediapipe.python._framework_bindings.packet.Packet) -> Dict[str, mediapipe.python._framework_bindings.packet.Packet]

get_uint(...): get_uint(arg0: mediapipe.python._framework_bindings.packet.Packet) -> int