Computer vision is a subset of artificial intelligence that enables computers to extract meaningful information from visual data. Convolutional Neural Networks CNNs Convolutional neural networks mainly consists of three types of layers — input layer, hidden layer, and output layer.