Attention: This MediaPipe Solutions Preview is an early release. Learn more.


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

Create a MediaPipe int array Packet from a list of integers.

Args: data: A list of integers.

Returns: A MediaPipe int array Packet.

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

Examples: packet = mp.packet_creator.create_int_array([1, 2, 3])