towhee.utils.pil_utils.to_pil

towhee.utils.pil_utils.to_pil(t_img: towhee.types.image.Image)PIL.Image.Image[source]

Convert a towhee.types.Image into PIL.Image.Image.

Parameters:

t_img (towhee.types.Image) – A towhee image.

Returns:

(PIL.Image.Image)

A PIL image.