mp.packet_creator.create_int64

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

Create a MediaPipe int64 Packet from an integer.

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

Returns: A MediaPipe int64 Packet.

Raises: TypeError: If the input is neither an integer nor a np.int64.

Examples: packet = mp.packet_creator.create_int64(2**63 - 1) data = mp.packet_getter.get_int(packet)