In this section, we're going to use a pre-trained model, Inception, from Google to perform image classification. We'll then move on and build our own model—or, at least do some retraining on the model in order to train on our own images and classify our own objects.
For now, we want to see what we can do with a model that's already trained, which would take a lot of time to reproduce from scratch. Let's get started with the code.
Let's go back to Jupyter Notebook. The Notebook file can be found at https://github.com/PacktPublishing/Computer-Vision-Projects-with-OpenCV-and-Python-3/Chapter04.
In order to run the code, we're going to need to download a file from TensorFlow's website, from the following ...