Level 3 · Module 14 · 10 minutes
How deep learning handles images
- Explain that an image is a grid of numbers for a computer.
- Describe in plain words how small pattern detectors work.
- Explain why vision models can fail in unfamiliar conditions.
A computer does not see a picture the way you do. To a computer, an image is a grid of numbers. Each pixel, one small square of the image, has values for its brightness and colour. A vision model works on those numbers and produces an answer, such as a label for the whole image or a mark around an object.
Small pattern detectors
The most common design for images is a convolutional network. Instead of connecting every input number to every unit, it uses small pattern detectors that slide across the image. One detector might respond to a vertical edge, another to a corner, another to a colour change. Each detector produces a map showing where its pattern was found strongly.
This design has two benefits. The same detector can find its pattern anywhere in the image, and the network needs far fewer weights than if everything were connected. Early layers learn simple filters, and later layers combine them into shapes, textures and object parts.
From parts to objects
Deeper layers respond to combinations. A group of edge detectors may feed a unit that reacts to a curved outline, and several of those may feed a unit that reacts to a whole face or vehicle. Training adjusts the detectors from labelled examples, so the features that matter are discovered rather than written by hand. Later layers can respond to larger, more abstract patterns, such as a whole object rather than a small part. This is how parts become objects.
Where vision models fail
Because the model works on numbers and learned patterns, it does not understand what it is looking at. It can be fooled by unusual lighting, a strange angle, an object in a new setting, or a pattern that rarely appeared in training. A confident label is not a guarantee. For high-stakes uses, a person should check the result.
A teaching picture, not a commercial system
Lesson diagrams show a few detectors and a couple of layers. Real commercial systems contain a very large number of filters and many layers, trained on large collections of images. The sliding pattern idea is accurate, but the neat diagram is a simplification.
Common misconception
An image model sees the world the way a human does, only faster. It receives pixel numbers and applies learned pattern detectors. It has no visual understanding and can fail on unfamiliar lighting, angles or settings. Fast calculation is not the same as seeing.
Guided practice
Take a photo or a drawing and describe it only as numbers. Mark a grid and write a rough brightness value in several squares. Then list three small patterns a detector could look for, such as a straight edge or a round corner, and explain why a whole object needs many detectors. This is a paper exercise; no model is trained.
Knowledge check
Independent practice
Write a short example from your own work or daily life and decide whether it is AI, ordinary software or a mixture. Then explain why. Save it in your notes; no account is required.
Last reviewed: · Report a problem