Image augmentation is a technique used to artificially expand the size and diversity of your dataset by applying various transformations to your images. In YOLO object detection training, image augmentation helps your model generalize better by exposing it to different variations of objects, backgrounds, lighting conditions, and more.

Notes

Since image augmentation is an advanced topic in our workshop, we encourage you to explore these techniques independently. This page provides only an overview and key concepts rather than a detailed, step-by-step tutorial. Use the information here as a starting point for your own learning and experimentation.

Benefits of Image Augmentation in YOLO Training

Common Augmentation Techniques for Object Detection

Technique Description
Flip Horizontal/vertical flip
Rotation Rotate image and boxes
Scaling Zoom in/out
Brightness/Contrast Adjust lighting
Blur Add Gaussian blur
Noise Add random noise
Cutout Randomly mask part of the image
Color Jitter Change hue, saturation, etc.

Tips

ImgAug - the python library for image augmentation

image.png

This library provide an easy way to do image augmentation, feel free to read their documentation.

https://imgaug.readthedocs.io/en/latest/