PsychiatryNLPKit.data.ImageData
- class PsychiatryNLPKit.data.ImageData(path, name=None)[source]
Container for an image with optional metadata.
- Args:
path: Path to the image file. name: Optional identifier for the image.
Methods
__init__(path[, name])Attributes
Load and return the PIL Image (lazy).
- property image: Image
Load and return the PIL Image (lazy).