LEARNING
Convolutional neural networks (CNN) are used to automatically learn relevant visual features from images, recognizing patterns, shapes, textures, or other features that distinguish different categories.
During the training phase, the algorithm is fed with a large set of correctly labeled training data containing images belonging to their respective categories.