# Computer vision

> Computer vision is the field of AI that lets software interpret images and video, for tasks such as detecting objects, counting items, reading text, inspecting defects or recognising what a scene contains.

Also called: CV, image recognition, object detection, visual AI, video analytics. Category: Models and training. Source: https://aibuildindex.com/glossary/computer-vision

## In the index

- Object detection: median $3,200, middle half $500 to $8,000, 459 priced briefs (https://aibuildindex.com/cost/computer-vision-detection)
- Computer vision: median $3,000, middle half $500 to $8,050, 851 priced briefs (https://aibuildindex.com/skills/computer-vision)
- OpenCV: median $2,500, middle half $500 to $8,000, 261 priced briefs (https://aibuildindex.com/skills/opencv)

Computer vision is the branch of AI that works with pictures and video. It answers questions like "is there a scratch on this part", "how many people are in the queue" or "which product is on this shelf". For a business buyer it turns cameras and photo uploads into data, which makes it useful in manufacturing inspection, retail, logistics, property and security.

## How it works

Most vision builds fall into a few task types. **Image [classification](https://aibuildindex.com/glossary/classification)** assigns a label to a whole image. **Object detection** draws boxes around each item of interest and labels it. **Segmentation** marks the exact pixels belonging to each object, useful for measuring areas. **[OCR](https://aibuildindex.com/glossary/ocr)** reads text in images, and **tracking** follows objects across video frames.

These tasks are handled by [deep learning](https://aibuildindex.com/glossary/deep-learning) models. A builder will usually start from a pre-trained model and adapt it with labelled examples from your own cameras. For instance, a warehouse wanting to spot damaged parcels collects a few thousand photos, has them labelled as damaged or intact with boxes around the damage, trains a detector, and then tests it on photos it has never seen. General-purpose [multimodal models](https://aibuildindex.com/glossary/multimodal-model) can also describe images from a prompt, which suits low-volume or varied tasks but tends to be slower and less precise than a trained detector.

## What it means for cost

Vision projects are driven by data and deployment more than by model choice:

- **Labelled data.** Collecting and [labelling](https://aibuildindex.com/glossary/data-labelling) representative images is often the largest single task, especially for rare defects.
- **Conditions.** Lighting, camera angle, weather and motion blur all change accuracy, so testing must happen on site.
- **Where it runs.** Processing on a local device near the camera needs hardware and optimisation work; processing in the cloud needs reliable bandwidth.
- **Speed.** Real-time video analysis costs more to build and run than checking still photos once an hour.

Ask a builder how many labelled images they expect to need, who will label them, and how they will report accuracy on your own footage. Live figures are on the [computer vision cost page](https://aibuildindex.com/cost/computer-vision-detection).

## Common questions

### Do I need my own images to build a computer vision system?

For anything specific to your business, usually yes. Pre-trained models know common objects, but your products, defects and camera set-up are particular. A small proof of concept on a few hundred images shows whether the idea works before a larger labelling effort.

### Can a language model replace a trained vision model?

For occasional, varied questions about images, a multimodal language model can be enough and needs no training. For high volumes, strict accuracy targets or real-time video, a trained detector is usually cheaper to run and more consistent.

### What accuracy should I expect?

It depends entirely on the task and the data. A builder should measure it on a held-out set of your own images and report false alarms and misses separately, since the cost of each is usually different.

## Related terms

- [Deep learning](https://aibuildindex.com/glossary/deep-learning): Deep learning is a type of machine learning that uses neural networks with many layers to learn directly from raw data such as text, images and audio, and it underpins modern language, vision and speech models.
- [Data labelling](https://aibuildindex.com/glossary/data-labelling): Data labelling is the work of adding correct answers to raw examples, such as tagging images, marking entities in text or rating model outputs, so that a machine learning model can be trained or evaluated on them.
- [Optical character recognition (OCR)](https://aibuildindex.com/glossary/ocr): Optical character recognition is technology that reads printed or handwritten text from images and scanned documents and turns it into machine-readable text that software can search, extract from or pass to a language model.
- [Classification](https://aibuildindex.com/glossary/classification): Classification is a machine learning task in which a model assigns each input, such as an email, image, transaction or document, to one of a set of predefined categories, for example spam or not spam, or which team should handle it.
- [Training data](https://aibuildindex.com/glossary/training-data): Training data is the set of examples a machine learning model learns from, such as labelled images, past transactions or question-and-answer pairs, and its quality, coverage and rights largely decide how well the finished model performs.
- [Multimodal model](https://aibuildindex.com/glossary/multimodal-model): A multimodal model is an AI model that can take in, and sometimes produce, more than one kind of data, such as text, images, audio, video or documents, within a single request.
