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

mp.packet_creator.create_uint32

Stay organized with collections Save and categorize content based on your preferences.

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)