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

mp.packet_creator.create_image_vector

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

create_image_vector(arg0: List[mediapipe.python._framework_bindings.image.Image]) -> mediapipe.python._framework_bindings.packet.Packet

Create a MediaPipe Packet holding a vector of MediaPipe Images.

Args: data: A list of MediaPipe Images.

Returns: A MediaPipe Packet holding a vector of MediaPipe Images.

Raises: TypeError: If the input is not a list of MediaPipe Images.

Examples: packet = mp.packet_creator.create_image_vector([ image1, image2, image3]) data = mp.packet_getter.get_image_list(packet)