In this recipe, you will learn how to perform semantic segmentation of an arbitrary image into 21 classes, such as person, car, and bird. This piece of functionality is useful when an understanding of a scene is required; for example, in augmented reality applications and for driver assistance. To know more visit https://arxiv.org/abs/1605.06211.
Segmenting a scene using the Fully Convolutional Network (FCN) model
Getting ready
Before you proceed with this recipe, you need to install the OpenCV 3.x Python API package.
Download model weights from http://dl.caffe.berkeleyvision.org/fcn8s-heavy-pascal.caffemodel and save the file into the data folder.