How LLMs Work
Computer Vision: How Computers Make Sense of Pictures
Computer vision is the field that teaches computers to get useful information from images and video. Tasks, examples and a reminder that a computer does not see like you.
Computer vision is the field of study about how computers can gain useful information from images and video. Its engineering goal is to automate tasks that the human visual system can do.
What counts as "understanding" a picture
In computer vision, "understanding" means turning an image into a description of the world that a program can use to make a decision or take an action. The image data can come from a photo, a video, several cameras at once, a 3D scanner, laser sensors or medical scanners.
Tasks computers can learn
Wikipedia lists many sub-fields. Some are easy to picture:
- Object recognition: a broad term for working out which objects are in a picture and where.
- Image classification: saying what kinds of object are in the picture.
- Object detection: finding where each object is.
- Video tracking: following something as it moves.
- Activity recognition: noticing what is happening.
- Image restoration: repairing a damaged or blurry picture.
- Scene reconstruction and 3D modelling: building a 3D picture from images.
Two tasks, defined by a contest paper
The ImageNet contest paper (Russakovsky and others, 2014) uses "object recognition" broadly to cover two tasks. Image classification is a task requiring an algorithm to determine what object classes are present in the image. Object detection is a task requiring an algorithm to localise all objects present in the image. In the contest's detection task, an algorithm produces a list of object categories in the image, with a box showing the position and size of every instance of each category.
Where deep learning came in
Deep neural networks became important for these tasks. A famous early case is AlexNet, which in 2012 won an image contest by a wide margin. The photo library behind that contest is covered in ImageNet. See also what deep learning is.
Not the same as human sight
A computer works with numbers that describe pixels. It does not have eyes, feelings or understanding in the way you do. It can get things wrong that a person would find easy, so check results that matter. And a model that makes pictures from words is a different tool: see how image generators work.
Try it
Look at a photo of a street. Make a list of every kind of object you can name, then draw a box around each one. You just did object recognition and object detection by hand.