LIVEยทThe trends shaping tomorrow's world.
AI

Computer Vision Explained

How computer vision works, from pixels and convolutional networks to vision transformers and CLIP, with core tasks, real US uses and key limitations.

Computer vision is the field of AI that lets machines extract meaning from images and video. Hugging Face's computer vision course, quoting the textbook by Forsyth and Ponce, calls it "the science and technology of making machines see": acquiring, processing, analyzing and understanding visual data to produce useful descriptions of the world [1]. In practice, that means software that can classify a photo, find and track objects, outline a tumor on a scan, read a license plate or guide a car through traffic.

Modern computer vision runs almost entirely on deep learning. The breakthrough came in 2012, when a convolutional neural network called AlexNet beat every other entry in a major image-recognition contest by a wide margin [3]. Since then, the field has moved from networks trained for one task to large pretrained models that can recognize things they were never explicitly taught.

How computer vision works

To a computer, an image is a grid of numbers: brightness values for each pixel, usually across red, green and blue channels. The job is to turn those numbers into something meaningful.

The old approach: hand-designed features. Engineers wrote algorithms to detect edges, corners and textures, then fed those features into a classic machine learning model. The Hugging Face course notes this "still relies on domain knowledge and exhaustive feature engineering" [1].

The deep learning approach: learned features. A neural network takes raw pixels and learns its own features during training. Early layers learn simple patterns like edges, later layers combine them into shapes, parts and whole objects. See What Are Neural Networks?

The Hugging Face course describes three levels of image understanding [1]:

  • Low-level: image in, image out (sharpening, adjusting contrast).
  • Mid-level: image in, attributes out (segmentation, object classification).
  • High-level: making sense of a whole scene (recognition, 3D reconstruction, image-to-text).

Computer vision focuses on the mid and high levels [1].

The core tasks

Task

Question it answers

Output

Example use

Image classification

What is in this image?

One label (or a few) per image

Sorting photos, flagging defective parts

Object detection

What objects are here, and where?

Labels plus bounding boxes

Pedestrian detection, retail shelf monitoring

Segmentation

Exactly which pixels belong to each object?

A mask per object or per pixel

Outlining organs on a scan, background removal

Tracking

Where does each object move over time?

Object paths across video frames

Traffic analysis, sports analytics

Pose and action recognition

What is this person doing?

Body keypoints or action labels

Patient monitoring, fitness apps

Optical character recognition (OCR)

What text is in the image?

Characters and words

Reading checks, forms and signs

Image-text matching

Does this caption match this picture?

Similarity score

Image search, zero-shot labeling

Key milestones and architectures

Convolutional neural networks

A convolutional neural network (CNN) slides small filters across an image, reusing the same weights everywhere. That builds in a useful assumption: a cat's ear looks the same whether it's in the top left or the bottom right. Yann LeCun and colleagues detailed convolutional networks for handwriting recognition in a 1998 paper in the Proceedings of the IEEE [2].

AlexNet and the deep learning boom (2012)

AlexNet, by Alex Krizhevsky, Ilya Sutskever and Geoffrey Hinton, was a CNN with 60 million parameters trained on about 1.2 million labeled ImageNet images [3]. In the ILSVRC-2012 competition it achieved a top-5 test error of 15.3%, against 26.2% for the second-best entry [3]. It trained for five to six days on two NVIDIA GTX 580 GPUs, and its authors wrote that results could improve "simply by waiting for faster GPUs and bigger datasets" [3].

Deeper networks (2015)

Microsoft researchers' ResNet added shortcut connections that made very deep networks trainable, up to 152 layers on ImageNet, and won first place in the ILSVRC 2015 classification task [4].

Real-time detection (2015)

YOLO ("You Only Look Once") reframed object detection as a single pass of one network predicting boxes and labels directly from the full image. The base model processed images at 45 frames per second [5]. Speed made detection practical for video and robotics.

Vision transformers (2020)

Google researchers showed that the Transformer architecture from language could work for images too. The Vision Transformer (ViT) splits an image into fixed-size patches and treats them "the same way as tokens (words) in an NLP application" [6]. Because Transformers lack a CNN's built-in assumptions about images, ViT did slightly worse than comparable CNNs on mid-sized datasets, but it excelled when pretrained on 14 million to 300 million images: "large scale training trumps inductive bias," the authors wrote [6]. See How Transformer Models Work.

Vision meets language (2021)

OpenAI's CLIP trained an image encoder and a text encoder together on 400 million image-caption pairs from the internet, learning to match pictures with their descriptions [7]. That allows zero-shot classification: give the model a list of category names in plain English, and it picks the best match without task-specific training. CLIP matched the accuracy of the original ResNet-50 on ImageNet without using any of ImageNet's 1.28 million training examples [7].

Promptable segmentation (2023)

Meta's Segment Anything model was trained on a dataset of more than 1 billion masks across 11 million images, and designed to be "promptable" so it can outline objects in new kinds of images without retraining [8]. Its authors framed it as a foundation model for segmentation and released it to "foster research into foundation models for computer vision" [8]. See What Are Foundation Models?

CNN vs vision transformer


Convolutional neural network

Vision transformer

How it reads an image

Small sliding filters, local first

Patches as a sequence; attention relates all patches [6]

Built-in image assumptions

Strong (locality, translation equivariance) [6]

Few; learns them from data [6]

Data needs

Works well on moderate datasets

Shines with very large pretraining datasets [6]

Typical use today

Efficient on-device and real-time models

Large pretrained backbones, multimodal models

Where computer vision is used

  • Medical imaging. The FDA maintains a public list of AI-enabled medical devices authorized for marketing in the US. By our count of the downloadable list (content current as of September 4, 2026), it includes 1,614 devices, and radiology is the lead review panel for 1,230 of them, about three-quarters [9]. Stanford's 2025 AI Index reported that the FDA approved 223 AI-enabled medical devices in 2023, up from six in 2015 [11].
  • Hospital monitoring. Stanford researchers built TRACER, a prototype system that analyzes ICU bedside video around the clock to help clinicians spot signs of delirium. In a test environment it achieved 85% action-detection accuracy and answered physicians' questions correctly 61% of the time; Stanford describes it as a promising prototype [10].
  • Autonomous vehicles. Cameras are a core sensor for driver assistance and self-driving systems. Stanford's 2025 AI Index reported Waymo providing more than 150,000 autonomous rides each week [11]. See Autonomous Driving Levels Explained and LiDAR vs Radar vs Camera-Based Driving.
  • Manufacturing and retail. Visual inspection for defects, shelf monitoring and self-checkout.
  • Documents. OCR for checks, forms and invoices. Handwriting and document recognition were early applications of convolutional networks [2].

Benefits

  • Consistency at scale. A model doesn't get tired at the end of a shift.
  • Speed. Real-time detection makes video analysis practical [5].
  • Reach. Vision systems can monitor continuously where people can check only periodically, as the ICU example shows [10].

Limitations and risks

  • Uneven capability. Stanford's 2026 AI Index reports that frontier models meet or exceed humans on multimodal reasoning, yet AI still lags at learning from video and generating coherent, realistic video [12].
  • Distribution shift. A model trained on one hospital's scanners, or on daytime driving, can fail on different equipment, lighting or weather.
  • Data and labeling cost. Supervised vision needs labeled images; segmentation masks are especially expensive. Self-supervised and image-text pretraining reduce, but don't remove, this cost [7].
  • Bias. Models reflect the people, places and skin tones represented in their training data.
  • Privacy and surveillance. The Hugging Face course flags tracking people as a significant privacy concern [1].
  • High stakes of errors. The same course notes that a cancer detector that labels a cancer sample as healthy "can have terrible consequences" [1].

How to choose a computer vision approach

  1. Define the task precisely. Classification, detection and segmentation need different models and different labels.
  2. Start pretrained. Fine-tuning a pretrained backbone, or using a zero-shot model like CLIP, usually beats training from scratch [6][7].
  3. Match hardware to latency. Real-time video on a device favors compact CNN-style detectors; batch analysis in the cloud can use large transformers. See AI Chips vs CPUs vs GPUs vs TPUs.
  4. Test on your own images. Benchmarks rarely match your cameras, lighting and edge cases.
  5. Plan for privacy. If images include people, check the privacy and biometric laws that apply where you operate before deploying.

Outlook

Vision is converging with language. Models increasingly take an image and a question together and answer in text, a field covered in What Is Multimodal AI? Expect more promptable, general-purpose vision models in the mold of CLIP and Segment Anything [7][8], and continued focus on video understanding, which the AI Index flags as a weak spot [12].

Frequently asked questions

What is computer vision in simple terms?

It's AI that understands images and video. Computer vision systems turn pixel values into useful outputs, such as a label, the location of an object, or a description of a scene [1].

How is computer vision different from image processing?

Image processing transforms images, for example by sharpening or adjusting contrast, and usually outputs another image. Computer vision interprets images to produce information, such as "this is a stop sign." The two overlap at mid-level tasks like segmentation [1].

What is the difference between image classification and object detection?

Classification assigns a label to a whole image ("contains a dog"). Detection finds each object and draws a box around it ("dog here, person there"). Segmentation goes further and marks the exact pixels of each object.

What neural networks are used for computer vision?

Convolutional neural networks (CNNs) dominated from 2012 onward [3][4]. Vision transformers, which treat image patches like words, became competitive when pretrained on very large datasets [6]. Many current systems combine ideas from both.

Is computer vision used in self-driving cars?

Yes. Cameras feed vision models that detect lanes, vehicles, pedestrians and signs. Many systems pair cameras with other sensors such as radar or lidar; our guide to LiDAR vs radar vs camera-based driving compares the approaches.

Sources

  1. Hugging Face. "What Is Computer Vision." Community Computer Vision Course, Unit 1. https://huggingface.co/learn/computer-vision-course/unit1/chapter1/definition
  2. LeCun, Y., Bottou, L., Bengio, Y., and Haffner, P. "Gradient-Based Learning Applied to Document Recognition." Proceedings of the IEEE 86(11):2278โ€“2324, November 1998. Listed at http://yann.lecun.com/exdb/publis/index.html
  3. Krizhevsky, A., Sutskever, I., and Hinton, G. E. "ImageNet Classification with Deep Convolutional Neural Networks." NeurIPS 2012. https://papers.nips.cc/paper_files/paper/2012/hash/c399862d3b9d6b76c8436e924a68c45b-Abstract.html
  4. He, K., et al. "Deep Residual Learning for Image Recognition." arXiv 1512.03385. https://arxiv.org/abs/1512.03385
  5. Redmon, J., et al. "You Only Look Once: Unified, Real-Time Object Detection." arXiv 1506.02640. https://arxiv.org/abs/1506.02640
  6. Dosovitskiy, A., et al. "An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale." arXiv 2010.11929 (ICLR 2021). https://arxiv.org/abs/2010.11929
  7. Radford, A., et al. "Learning Transferable Visual Models From Natural Language Supervision." arXiv 2103.00020. https://arxiv.org/abs/2103.00020
  8. Kirillov, A., et al. "Segment Anything." arXiv 2304.02643. https://arxiv.org/abs/2304.02643
  9. US Food and Drug Administration. "Artificial Intelligence-Enabled Medical Devices." Content current as of September 4, 2026. https://www.fda.gov/medical-devices/software-medical-device-samd/artificial-intelligence-enabled-medical-devices
  10. Stanford HAI. "AI-Enabled Video System Monitors ICU Patients for Early Signs of Delirium." November 20, 2026. https://hai.stanford.edu/news/ai-enabled-video-system-monitors-icu-patients-for-early-signs-of-delirium
  11. Stanford HAI. "The 2025 AI Index Report." https://hai.stanford.edu/ai-index/2025-ai-index-report
  12. Stanford HAI. "Inside the AI Index: 12 Takeaways from the 2026 Report." April 13, 2026. https://hai.stanford.edu/news/inside-the-ai-index-12-takeaways-from-the-2026-report