# Convolutional Neural Network (CNN)

> A network made for photos. It slides small filters over the picture.

**Field:** Artificial Intelligence  
**Category:** Machine Learning  
**Also known as:** CNN, ConvNet

## Think of it like

Think of it like a small window you slide over a photo. It checks one patch at a time.

## Definition

A convolutional neural network is a neural network built to work with images. It does not look at the whole picture at once. It slides small filters across the picture. Each filter looks for one simple thing, like an edge or a spot of colour. Later layers join these into bigger shapes, like eyes or wheels. So it can spot a thing anywhere in a photo.

## Example

A farm app uses a CNN to look at photos of leaves. Its filters pick up spots and yellow edges, and it says which plants are sick.

## Why it matters

CNNs made modern computer vision work. Face unlock, medical scans and self-driving cars all came to use them.

## Common mistake

Thinking CNNs only work on photos. The same sliding idea works on sound and on other data laid out in a grid or a line.

## Three principles

- **Slides filters.** Over small patches.
- **Simple then complex.** Edges become shapes.
- **Made for grids.** Images most of all.

## Related terms

- [Neural Network](https://learn.benibix.com/term/ai/neural-network)
- [Deep Learning](https://learn.benibix.com/term/ai/deep-learning)
- [Layer (Neural Network)](https://learn.benibix.com/term/ai/neural-network-layer)
- [Recurrent Neural Network (RNN)](https://learn.benibix.com/term/ai/recurrent-neural-network)
- [Image Classification](https://learn.benibix.com/term/ai/image-classification)

## Taught in

- [CNNs, RNNs and LSTMs](https://learn.benibix.com/learn/ai-machine-learning/cnns-rnns-and-lstms): Machine Learning, 15/18

![A grid of pixels with a small three by three window on one corner. The window slides across the grid and each stop fills one box of a smaller grid called a feature map.](https://learn.benibix.com/diagrams/nn-cnn.svg)

---

Source: https://learn.benibix.com/term/ai/convolutional-neural-network
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
