Shortcuts

ToPIL

class mmcls.datasets.transforms.ToPIL[source]

Convert the image from OpenCV format to PIL.Image.Image.

Required Keys:

  • img

Modified Keys:

  • img

transform(results)[source]

Method to convert images to PIL.Image.Image.

Read the Docs v: 1.x
Versions
master
latest
1.x
dev-1.x
Downloads
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.