Skip to main content

Posts

Showing posts with the label convolution

How to use Keras for Computer Vision- Part 3

Another post starts with you beautiful people! I hope you have enjoyed my  last post   about  image data augmentation  and now you are comfortable with increasing the size of your small training dataset. Today's post is going to be interesting because we are going to learn how to handle color images and examples of using convolution with keras. Let's starts our learning- In our first post of this series we have seen that typically an image can be stored in 3-dimensional format- one is for height, one is for width and one is for channels. Colored images have three channels- red,blue,green components. A deep learning network requires that image data should be provided as a 3-D arrays. There are 2 ways to represent the image data as a 3-D array. First way is known as ' channel last ' and second way is known as ' channel first '. In 'channel last', last channel represents the color channels while in 'channel first', first channel represents t...