What is computer vision?
Computer vision is the field of AI that extracts and interprets information such as objects, text, faces, motion or page layout from images and video.
It differs from a vision-language model in its output: computer vision extracts structured information such as classes, locations or text, while a VLM processes the image with text and answers in natural language. The field is not just face recognition; it covers document processing, quality control and object detection among others.
- Topic
- Machine learning, models and training
- Also known as
- CV, machine vision
How computer vision works
- Images become numerical data and, where needed, are resized, deskewed or normalised.
- Convolutional neural networks or Vision Transformer architectures extract layered visual features such as edges, textures and shapes.
- Task-specific output layers produce classification, object detection, segmentation or character recognition results.
- In document processing, layout analysis separates headings, tables, signatures and stamps; Optical Character Recognition reads the text.
In more detail
Core tasks: classification, detection, segmentation and tracking
Core computer vision tasks vary in granularity: image classification assigns a label to the whole frame, object detection predicts bounding boxes and classes, semantic and instance segmentation produces pixel-level masks and pose or keypoint estimation tracks structural landmarks. Choosing the right granularity directly governs annotation cost and inference speed.
Domain shift and image quality
Vision models are sensitive to domain shift, changes in lighting, camera angle, lens blur, scanner DPI or compression artefacts between training data and production environments. Real-world deployment requires representative calibration data, augmentation, confidence thresholding and continuous visual quality monitoring.
Evaluation metrics: IoU, mAP, CER and WER
Accuracy is assessed with task-specific metrics: Intersection over Union (IoU) and mean Average Precision (mAP) for detection and segmentation and Character and Word Error Rate (CER and WER) for OCR. Evaluating document pipelines also requires measuring table-structure and reading-order fidelity before feeding text to RAG.
Vision foundation models and open-vocabulary detection
Since Vision Transformers (ViT), modern pipelines have increasingly combined foundational vision encoders such as CLIP and Segment Anything (SAM) with specialised heads or open-vocabulary detectors. This reduces labelled data requirements for rare enterprise classes via zero-shot or few-shot adaptation.
Commonly confused terms
| Term | How it differs |
|---|---|
| Image processing | Classic image processing applies mathematical operations (filtering, contrast adjustment, edge enhancement, colour-space transforms) to turn an image into a modified image, whereas computer vision extracts semantic meaning and structured predictions (objects, layouts, text) from visual data. |
| Optical character recognition (OCR) | OCR specifically converts images of printed or handwritten text into machine-readable characters; it is one sub-task within the broader field of computer vision, which also encompasses detection, segmentation, 3D reconstruction and video tracking. |
Why computer vision matters for on-premises AI
OCR and layout analysis make scanned archives searchable and processable, which is also a precondition for in-house RAG. For real-time video analysis, models run on local GPUs or edge devices to keep latency low and save bandwidth. Face and ID images are personal data; biometric data used for identification can count as a special category, so they need separate access rules, logging and legal review.
This page gives general information and is not legal advice.
A public body digitises its scanned paper archive in-house with OCR and uses computer vision to extract each document's date, number and signature area automatically.
Common questions
Are computer vision and image processing the same?
No. Image processing is the field of classic filtering and enhancement methods. Computer vision uses those methods too but extracts meaning and structured information from images.
Where is computer vision used in enterprise document processing?
In deskewing scanned pages, analysing layout, locating tables, signatures and stamps and reading text through OCR.
Related terms
- Object detection
- Vision Transformer
- Optical Character Recognition
- Vision-language model
- Convolutional neural network
- Document layout analysis
- Edge AI
Sources
- Szeliski, Computer Vision: Algorithms and Applications, 2nd edition, 2022
- Dosovitskiy et al., An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale, ICLR 2021
In the glossary: Glossary, A to C