get_image_frame(arg0: mediapipe.python._framework_bindings.packet.Packet) -> mediapipe.python._framework_bindings.image_frame.ImageFrame
mp.packet_getter.get_image_frame()
Get the content of a MediaPipe ImageFrame Packet as an ImageFrame object.
Args: packet: A MediaPipe ImageFrame Packet.
Returns: A MediaPipe ImageFrame object.
Raises: ValueError: If the Packet doesn't contain ImageFrame.
Examples: packet = packet_creator.create_image_frame(frame) data = packet_getter.get_image_frame(packet)