Image recognition works on the principal of image classification, where classification is pattern matching within the data. Images are data in the form of two-dimensional matrices.
There are four major steps in the image recognition process. The first is gathering data, the second is organizing data, the third is building a predictive model, and the last one is recognizing image.