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

mp.packet_getter.get_image_list

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

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

Get the content of a MediaPipe Packet of image vector as a list of MediaPipe Images.

Args: packet: A MediaPipe Packet that holds std:vectormediapipe::Image.

Returns: A list of MediaPipe Images.

Raises: ValueError: If the Packet doesn't contain std:vectormediapipe::Image.

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