Computer Vision: How AI Systems See and Interpret the Visual World

Featured in:

What Computer Vision Is and Why It Is Difficult

Computer vision is the field of artificial intelligence concerned with enabling computers to extract meaningful information from images and video — to see the visual world and understand what they see in a way that is useful for the tasks they are applied to. The difficulty of computer vision is not immediately apparent to humans, for whom visual understanding feels effortless and automatic. The difficulty becomes clear when one attempts to specify, in explicit rules, what distinguishes a cat from a dog, what makes a face recognisable across different lighting conditions and angles, or what the relationship is between the pixels of an image and the semantic content it depicts. Human visual understanding is the product of hundreds of millions of years of evolutionary refinement and years of individual experience; capturing this understanding in the explicit specifications that traditional software requires proved essentially impossible.

The computer vision breakthrough that most clearly demonstrated the power of deep learning for visual tasks: AlexNet’s 2012 victory in the ImageNet Large Scale Visual Recognition Challenge, where a convolutional neural network achieved a top-5 error rate of 15.3% on the ImageNet benchmark — 10 percentage points better than the second-place entry and using a fundamentally different approach from the traditional computer vision methods that had dominated the competition in previous years. AlexNet’s victory demonstrated that deep neural networks trained on large labelled datasets could learn visual features that far outperformed the hand-engineered features that expert computer vision researchers had spent decades developing.

Core Computer Vision Tasks

The computer vision task taxonomy that most clearly organises the field’s scope: image classification (assigning a category label to an entire image — is this a photo of a cat, a dog, or a car?), object detection (identifying and localising multiple objects in an image by drawing bounding boxes around each detected instance — finding and locating every person, vehicle, and traffic sign in a street scene), image segmentation (assigning a category label to each pixel in an image rather than to the image as a whole — producing a pixel-level map of which regions belong to which objects), and image generation (creating new images from text descriptions, from other images, or from random noise — the capability that produced the diffusion model wave of generative image AI).

The computer vision task with the most diverse production deployment: object detection, which underlies applications ranging from the pedestrian detection in automotive safety systems to the product recognition in cashierless checkout systems, the quality inspection in manufacturing lines, the content moderation in social media platforms, and the activity recognition in security camera systems. Object detection is not a single algorithm but a family of approaches (YOLO, Faster R-CNN, DETR, and their successors) with different trade-offs between accuracy and inference speed that make different approaches appropriate for different deployment contexts.

Convolutional Neural Networks and Vision Transformers

The neural network architecture that dominated computer vision from 2012 through approximately 2020: the convolutional neural network (CNN), whose convolutional layers apply learned filters to local regions of the image, detecting edges, textures, and shapes at progressively larger scales as the network deepens. The CNN’s inductive biases (translation invariance and local connectivity) are well-matched to the structure of natural images, where the same visual feature can appear anywhere in the image and where nearby pixels are more strongly related than distant ones. Architectures like ResNet, VGG, and EfficientNet refined the CNN approach and achieved excellent performance on standard computer vision benchmarks.

The architecture that has increasingly displaced the CNN for high-performance computer vision: the Vision Transformer (ViT), which applies the transformer architecture (developed for NLP) to image data by dividing the image into patches and treating the sequence of patches as the input tokens. The ViT achieves better performance than CNNs when trained on very large datasets because the self-attention mechanism can capture long-range relationships between distant image regions that the CNN’s local connectivity makes difficult to learn efficiently. The current state of the art on most computer vision benchmarks uses transformer-based or hybrid CNN-transformer architectures that combine the local feature extraction of CNNs with the global context modelling of transformers.

Real-World Applications and Deployment Challenges

The computer vision applications that have achieved the most significant real-world deployment at scale: facial recognition (deployed in smartphone unlock systems, border control, law enforcement identification, and access control — with significant accuracy at scale and significant controversy about privacy and civil liberties implications), medical image analysis (AI systems for detecting cancerous nodules in CT scans, diabetic retinopathy in retinal photographs, and pathological tissue in biopsy slides have matched or exceeded radiologist accuracy in controlled evaluations — though clinical deployment has been slower than benchmark performance would predict), and autonomous vehicle perception (the multi-camera and lidar-based perception systems that detect and track vehicles, pedestrians, cyclists, and obstacles in real time are among the most demanding computer vision deployments in terms of accuracy, latency, and safety requirements).

The computer vision deployment challenge that most limits production reliability: the distribution shift problem, in which models trained on one distribution of images degrade when deployed on images from a different distribution. The image classifier trained on high-quality, well-lit photographs may fail on images from security cameras in low-light conditions; the medical imaging model trained on images from one scanner manufacturer may degrade when applied to images from a different manufacturer with different image characteristics. The robustness to distribution shift that computer vision models must have for reliable deployment in variable real-world conditions is harder to achieve than the accuracy on held-out test sets from the same distribution as the training data.

The Multimodal Future

The computer vision development that most clearly indicates where the field is heading: the integration of vision with language in multimodal models that understand both images and text simultaneously. Models like GPT-4V, Claude, Gemini, and LLaVA can answer questions about images, describe visual content in detail, compare images, and reason about visual scenarios described in text. This multimodal capability enables applications that require understanding of both visual and linguistic content simultaneously — the medical image description system that generates a radiology report in natural language, the customer service system that can examine a product photograph submitted by a customer, and the document understanding system that extracts information from forms and documents that combine text and visual layout.

The computer vision capability that most represents the frontier of current research and near-term application: the video understanding system that can describe, analyse, and answer questions about video content — tracking objects and people across frames, understanding causal relationships between events, and reasoning about the temporal structure of visual narratives. The difficulty of video understanding relative to image understanding reflects the additional temporal dimension and the computational demands of processing the frame rates required for real-time analysis. The models that can efficiently process and reason about video at scale will enable the applications in sports analytics, security monitoring, video search, and autonomous vehicles that current image-centric systems can only partially address.

Latest articles

Related articles

See more articles

AI in Healthcare: Real-World Applications Beyond the Hype

Every year brings another headline about AI curing diseases or replacing doctors. The reality on the ground...

How AI Agents Are Changing the Way We Work...

A few years ago, most people thought of AI as a chatbot you'd ask trivia questions. That's...