create_uint8(arg0: int) -> mediapipe.python._framework_bindings.packet.Packet
mp.packet_creator.create_uint8()
Create a MediaPipe uint8 Packet from an integer.
Args: data: An integer or a np.uint8.
Returns: A MediaPipe uint8 Packet.
Raises: OverflowError: If the input integer overflows. TypeError: If the input is neither an integer nor a np.uint8.
Examples: packet = mp.packet_creator.create_uint8(2**8 - 1) data = mp.packet_getter.get_uint(packet)