Computer vision is the branch of artificial intelligence concerned with enabling machines to derive meaning from digital images, videos, and other visual inputs. Its central problem is the inverse of graphics: where computer graphics starts with a description of a scene and renders an image, computer vision starts with an image and must recover a description of the scene that produced it. That description can be as shallow as a label ("this is a cat") or as deep as a full three-dimensional reconstruction of geometry, lighting, and object motion. The field's practical stakes are enormous—autonomous vehicles, medical image analysis, industrial inspection, surveillance, augmented reality, and human-computer interaction all depend on it—but its scientific stakes are equally significant. Vision is a core component of intelligence, and building machines that see forces researchers to confront fundamental questions about how information is organized in the physical world and how it can be recovered from ambiguous measurements.
To understand why computer vision is difficult, consider what a camera actually records. A digital image is a two-dimensional array of numbers, each representing the intensity of light at a pixel. All information about the three-dimensional world—object shapes, materials, lighting, occlusion, motion—is compressed into this flat grid of measurements. The recovery problem is fundamentally ill-posed: infinitely many three-dimensional scenes could produce the same two-dimensional image. A small white object close to the camera casts the same pixels as a large white object far away. A shadow can look like a change in surface color. A glossy highlight can be mistaken for a light source.
Human vision solves these ambiguities effortlessly and unconsciously, which makes the difficulty easy to underestimate. The field of computer vision has developed through successive attempts to make the ambiguity tractable: first by imposing geometric and physical constraints, then by learning statistical regularities from large datasets, and most recently by training deep neural networks that internalize both kinds of knowledge.
The first sustained research programme in computer vision, active from the 1960s through the 1990s, treated vision as a problem of inverse optics and inverse geometry. The goal was to reconstruct the physical world—shape, depth, motion, reflectance—by modeling how light interacts with surfaces and how perspective projects 3D points onto a 2D image plane.
The foundational assumption of this approach is that the image formation process is governed by well-understood physical laws. Perspective projection is described by the pinhole camera model, which relates a 3D point to its 2D projection through a set of intrinsic parameters (focal length, principal point) and extrinsic parameters (camera position and orientation). If the camera geometry is known, and if a point is visible in two or more images taken from different positions, its 3D location can be computed by triangulation. This is the basis of stereo vision, which mimics the human use of two eyes to perceive depth.
A major achievement of this era was the development of feature-based methods for matching points across images. Corners, edges, and other distinctive local patterns can be detected reliably and described by numerical vectors that are invariant to changes in scale, rotation, and illumination. The scale-invariant feature transform (SIFT), introduced in the late 1990s, became the canonical example. Once corresponding points are found across two images, the relative camera motion can be estimated, and from that, a sparse 3D point cloud of the scene can be built. This pipeline—detect features, match them, estimate geometry, triangulate—underlies structure from motion, which reconstructs both camera trajectories and scene geometry from unordered photo collections, and simultaneous localization and mapping (SLAM), which does the same in real time for robotics and augmented reality.
The classical approach also addressed the problem of recognizing objects, though with limited success. The dominant strategy was to represent an object as a geometric model—a wireframe, a set of edges, or a collection of parts—and then match that model against edges extracted from the image. These methods worked for simple, rigid, well-textured objects under controlled conditions, but they struggled with the variability of the real world. A chair seen from the side looks nothing like a chair seen from above; a cat can be curled up, stretched out, or in motion. Hand-designing models for every possible object and every possible viewpoint proved impractical.
The limits of the classical approach were not merely practical. Its core assumption—that vision can be solved by explicit physical modeling—was challenged by the observation that much of human vision seems to rely on learned regularities rather than explicit geometric reasoning. A human can recognize a chair they have never seen before, from an angle they have never encountered, in lighting they have never experienced. This suggests that the brain is not solving an inverse optics problem from first principles but is instead matching the current image against a vast store of visual experience.
A second research tradition, which gained momentum in the 1990s and 2000s, reframed vision as a statistical inference problem. Instead of modeling the physics of image formation explicitly, this approach treats images as samples from a probability distribution and asks how to infer the most likely scene given the observed pixels.
The key insight is that natural images are not random. They have strong statistical regularities: nearby pixels tend to have similar intensities, edges tend to be straight or smoothly curved, and certain configurations of edges and textures co-occur with certain objects. If these regularities can be learned from data, they can be used to resolve the ambiguity inherent in single images.
Early work in this tradition used hand-crafted features combined with machine learning classifiers. An image would be divided into small regions, each described by a vector of computed properties—color histograms, edge orientations, texture statistics. These vectors were then fed into a classifier, such as a support vector machine or a decision tree, that had been trained on labeled examples to distinguish one object category from another. The most influential feature descriptor of this era was the histogram of oriented gradients (HOG), which captures the distribution of edge directions in a local region and proved highly effective for detecting pedestrians and other articulated objects.
A related development was the bag-of-words model, borrowed from text retrieval. An image was treated as an unordered collection of local features, each quantized to the nearest entry in a learned "visual vocabulary." The histogram of vocabulary entries served as a compact summary of the image's content, and classifiers could be trained on these histograms. This approach dominated object recognition research for several years and achieved respectable performance on benchmark datasets, but it had a fundamental limitation: the features were designed by human engineers, and no one knew which features were optimal for which tasks. The field was limited by the quality of its hand-crafted representations.
The modern era of computer vision began with the demonstration that features could be learned from data rather than designed by hand. Deep neural networks, and in particular convolutional neural networks (CNNs), achieved this by stacking many layers of simple computations, each layer learning to detect increasingly abstract patterns. Early layers learn to respond to edges and color blobs; middle layers learn to respond to combinations of edges that form corners, curves, and textures; later layers learn to respond to configurations that correspond to object parts and whole objects.
The crucial breakthrough came in 2012, when a deep CNN called AlexNet won the ImageNet Large Scale Visual Recognition Challenge by a wide margin, dramatically outperforming all hand-crafted feature methods. The network was trained on over a million labeled images spanning a thousand object categories, and it learned, entirely from the pixel values, a hierarchy of features that proved far more effective than anything human engineers had designed. This result catalyzed a wholesale shift in the field. Within a few years, deep learning had become the dominant approach not just for object recognition but for nearly every computer vision task.
The deep learning approach differs from its predecessors in several fundamental ways. First, it is end-to-end: the network takes raw pixels as input and produces the final answer as output, with all intermediate representations learned implicitly rather than specified explicitly. Second, it is data-driven: performance scales with the amount of labeled training data, and the field's progress has been driven as much by the creation of large datasets as by algorithmic innovations. Third, it is representation learning: the network discovers its own features, and these features often capture regularities that human engineers had not anticipated.
Deep learning has transformed the landscape of computer vision tasks. In image classification, modern networks exceed human performance on some benchmark datasets, though the benchmarks themselves have known biases and the networks can be fooled by small adversarial perturbations that are invisible to humans. In object detection, systems based on region proposal networks or single-shot detectors can localize and classify multiple objects in an image in real time. In semantic segmentation, fully convolutional networks assign a class label to every pixel, enabling pixel-level understanding of scenes. In human pose estimation, networks can locate the joints of a person's body from a single image. In depth estimation, networks can predict a dense depth map from a single monocular image—a task that the classical geometric approach considered impossible without multiple views.
The most recent development in computer vision is the rise of generative models and the integration of vision with language. Generative models, such as generative adversarial networks (GANs) and diffusion models, learn to produce new images rather than merely analyze existing ones. While generation is not itself a recognition task, it has profound implications for the field. Generative models require a deep understanding of the statistical structure of images, and they have been used for data augmentation, image editing, super-resolution, and style transfer. More importantly, they have blurred the line between analysis and synthesis: a model that can generate a realistic image of a scene must implicitly understand the same regularities that recognition systems exploit.
The integration of vision and language has produced models that can answer questions about images, generate textual descriptions of visual content, and retrieve images from natural language queries. These vision-language models are typically trained on massive datasets of image-text pairs scraped from the web, and they learn a shared embedding space in which images and their descriptions are mapped to nearby points. The most influential architecture for this purpose is the transformer, originally developed for natural language processing, which uses attention mechanisms to relate all parts of an input to each other. Transformers have been adapted to vision, either by treating an image as a sequence of patches or by combining visual and textual tokens in a single model.
This multimodal turn has also produced large-scale foundation models that are trained on vast and heterogeneous data and then adapted to specific tasks with minimal fine-tuning. These models exhibit remarkable zero-shot capabilities: they can recognize objects and scenes they were never explicitly trained to classify, simply by matching the visual input to language descriptions. They can also be prompted, like language models, to perform novel tasks by describing the task in natural language.
The current landscape of computer vision is defined by the coexistence of these approaches, with deep learning as the dominant paradigm and the classical and statistical approaches surviving in specialized roles. The geometric methods of the classical era remain essential for tasks that require precise 3D information, such as camera calibration, structure from motion, and SLAM. These methods are not obsolete; they have been integrated into deep learning systems, which often use geometric constraints as additional training signals or as post-processing steps to refine network outputs. The statistical approach survives in the form of probabilistic graphical models, which are still used for tasks that require reasoning about uncertainty and dependencies, such as scene understanding and activity recognition.
Within deep learning, several distinct sub-approaches coexist. Convolutional architectures remain dominant for tasks where local spatial structure is paramount, such as low-level image processing and object detection. Transformer-based architectures have become standard for vision-language tasks and are increasingly competitive for pure vision tasks. Generative models have opened new research directions, including the use of synthetic data to train recognition systems and the use of generative priors to regularize ill-posed inverse problems.
The field's central challenges have shifted accordingly. The classical problem of recovering 3D structure from 2D images has been largely solved for sparse feature points and is being actively solved for dense surfaces through neural radiance fields and related techniques. The problem of object recognition, once the field's grand challenge, is considered largely solved for the thousand categories of ImageNet, though the broader problem of open-world recognition—recognizing an unbounded set of categories, including novel ones—remains open. The problem of robust generalization is acute: deep networks perform poorly when tested on data that differs from their training distribution, whether due to changes in lighting, camera, viewpoint, or object appearance. The problem of interpretability is unresolved: it is often unclear why a network makes a particular decision, which matters in high-stakes applications like medical diagnosis and autonomous driving. And the problem of efficient learning persists: current systems require enormous amounts of labeled data, whereas humans can learn new visual concepts from a handful of examples.
Computer vision has moved from a field that attempted to replicate the physics of vision to one that replicates its statistics, and now to one that learns both from data at unprecedented scale. The classical ambition—to build a complete physical understanding of the scene from its image—has not been abandoned, but it has been reframed. Modern systems do not explicitly model the physics of light and surfaces; they learn to predict the consequences of that physics from examples. The result is a field that is more powerful than its predecessors but also less transparent, and whose remaining challenges are as much about understanding its own models as about understanding the visual world.