towhee.utils.pil_utilsΒΆ

Functions

from_pil

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

from_src

Load the image from url/path as towhee's Image object.

to_pil

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