towhee.utils.plot_utils.plot_img

towhee.utils.plot_utils.plot_img(img: Union[str, PosixPath, Image, list], title: Optional[str] = None)[source]

Plot one image in notebook.

Parameters:
  • img (Union[str, PosixPath, Image]) – Image to plot.

  • title (str) – Title of the image to show.