The final topic that we will discuss in this chapter is how to carry out image classification using OpenCV with OpenVINO Inference Engine.
Before we jump into the details, let's have a brief look at an image classification problem. Image classification, also known as image recognition, is a part of the deep learning set of tasks and is perhaps one of the most common ones. In this task, a set of images are provided as input to the model and the model outputs the class or the label of the input images.
A common example of this is the dog and cat classification problem where a model is trained on a large number of images of cats and dogs and then, during the testing phase, the model predicts whether the input image is an image of a cat or a dog.
While this might look like a very naive problem, image classification...