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


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

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

Get the content of a MediaPipe uint Packet as an integer.

Args: packet: A MediaPipe Packet that holds uint8, uint16, uint32, or uint64 data.

Raises: ValueError: If the Packet doesn't contain uint8, uint16, uint32, or uint64 data.

Returns: An integer.

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