mp.packet_getter.get_int_list

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

Get the content of a MediaPipe int vector Packet as an integer list.

Args: packet: A MediaPipe Packet that holds std:vector.

Returns: An integer list.

Raises: ValueError: If the Packet doesn't contain std:vector.

Examples: packet = mp.packet_creator.create_int_vector([1, 2, 3]) data = mp.packet_getter.get_int_list(packet)