Shortcuts

ToPIL

class mmcls.datasets.transforms.ToPIL[源代码]

将图片从 OpenCV 格式转为为 PIL.Image.Image 格式

Required Keys:

  • img

Modified Keys:

  • img

transform(results)[源代码]

Method to convert images to PIL.Image.Image.

Read the Docs v: mmcls-1.x
Versions
latest
stable
mmcls-1.x
mmcls-0.x
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.