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