mp.packet_creator.create_uint32

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

Create a MediaPipe uint32 Packet from an integer.

Args: data: An integer or a np.uint32.

Returns: A MediaPipe uint32 Packet.

Raises: OverflowError: If the input integer overflows. TypeError: If the input is neither an integer nor a np.uint32.

Examples: packet = mp.packet_creator.create_uint32(2**32 - 1) data = mp.packet_getter.get_uint(packet)