Image classification datasets are used to train a model to classify an entire image. There are a wide variety of applications enabled by these datasets such as identifying endangered wildlife species or screening for disease in medical images. This guide will show you how to apply transformations to an image classification dataset.
Before you start, make sure you have up-to-date versions of albumentations and cv2 installed:
Copied
pip install -U albumentations opencv-python
This guide uses the Beans dataset for identifying the type of bean plant disease based on an image of its leaf.