A convolutional neural network (CNN) slides small filters across an image to detect features, building from edges up to objects. CNNs are compact and fast, which keeps them common on edge devices even as transformers lead on raw accuracy.