Skip to main content

Posts

Showing posts with the label imagedatagenerator

How to use Keras for Computer Vision- Part 2

Another post starts with you beautiful people! I hope you have enjoyed my  last post   and now you have become familiar with image loading, manipulation and saving in deep learning. If you have not read my last post then I recommend you to read the  first part   of this series. In this second part of my post we will learn about one of the most important technique used for a small image training dataset- Image   Data Augmentation ! 1. What is Image Data Augmentation? Image Data Augmentation is a technique to expand the size of a training dataset. This technique can create modified versions of images which helps when we have a small dataset. Image shifting, flipping and zooming are some examples of this technique. Keras provides ImageDataGenerator class for this purpose. 2. How to use this technique? We will learn different uses of this technique one by one by applying on an image- A. How to shift an image? Shifting an image means we are moving all ...

How to use Keras for Computer Vision- Part 1

Another post starts with you beautiful people! Today we are going to enter into the Computer Vision (CV) field with this first post. With this and further coming posts, we will learn how to use Deep Learning for CV. We will cover following three key concepts with Python code in this post- 1. What is CV? 2. How to load and manipulate image using Keras? 3. How to scale your image using Keras? Let's starts our learning- 1. What is CV?  Computer Vision or CV is a sub-field of Machine Learning and Artificial Intelligence, focused on the problem of helping computers to see. The goal of CV is to understand the content of digital images. CV has a wide variety of tasks- Object Classification Object Identification Object Verification Object Detection Object Segmentation Object Recognition 2. How to load and manipulate image using Keras? A. Loading an image using Keras api is very easy. Keras provides load_img() function for loading an image. Before moving...