A couple of days ago I was writing an article on using different colorspaces as inputs to CNN’s and for that, I had to use a custom data generator. This meant I could not use the Tensorflow’s inbuilt Image Data Generator for image augmentation. I searched online and found some articles but could not find anything which covered the subject in its entirety so I decided I’ll do one.

Table of Contents

  • Horizontal Shift
  • Vertical Shift
  • Brightness
  • Zoom
  • Channel Shift
  • Horizontal Flip
  • Vertical Flip
  • Rotation
  • Fill Mode

#tensorflow #opencv #python #artificial-intelligence #machine-learning

Complete Image Augmentation using OpenCV in Python
51.25 GEEK