towhee.types.image_utils

Functions

from_pil

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

to_image_color

convert images from one color-space to another, like BGR ↔ Gray, BGR ↔ HSV, etc.

to_pil

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