mp.packet_creator.create_packet_vector

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

Create a MediaPipe Packet holding a vector of packets.

Args: data: A list of packets.

Returns: A MediaPipe Packet holding a vector of packets.

Raises: TypeError: If the input is not a list of packets.

Examples: packet = mp.packet_creator.create_packet_vector([ mp.packet_creator.create_float(0.1), mp.packet_creator.create_int(1), mp.packet_creator.create_string('1') ]) data = mp.packet_getter.get_packet_vector(packet)