Convolutional neural networks, usually called CNNs, are designed to learn visual patterns directly from images. They became a foundation of modern computer vision because they can recognize useful features without requiring a developer to describe every edge, texture, or shape manually. Images contain local patterns Nearby pixels are strongly related. A small group of pixels…