Computer vision is software that finds and names things in photos and video.
This guide is for students and newcomers who want to know how it works and where it can go wrong. You do not need to build AI to be affected: shop cameras, phone photo apps and identity checks may already use it on you.
In short
- Computer vision turns each picture into numbers, then looks for patterns it learned from labelled examples.
- Its answer is a best guess with a score, not a certain fact.
- It can make more mistakes on unusual pictures or on people poorly represented in its examples.
- Systems that recognise people need extra care: privacy rules, fairness checks and a human for important decisions.
What you will learn
- Explain what computer vision does in one sentence.
- Spot the main jobs it does, from sorting photos to finding objects.
- Explain why its answers are scores, not facts.
- Ask good questions before a camera system is switched on.
- Picture dot (pixel)
- one tiny coloured square in a digital image, stored as numbers.
- Trained program (model)
- software that has learned patterns from many examples and uses them to make guesses.
- Confidence score
- a number showing how sure the model is about its guess.
What is computer vision?
Think of a mosaic made of thousands of small coloured tiles. Up close, you only see single tiles. Step back, and you notice edges, shapes and finally a face or a boat.
Computer vision works in a similar way. A digital photo is a grid of tiny dots called pixels, and each one is stored as numbers. The software looks at those numbers to find edges, then shapes, then whole objects.[1]
It learns which patterns matter from many example pictures that people have labelled, such as "dog" or "no dog". This is a kind of machine learning. The result is a trained program, called a model.[1]
Where the comparison stops working: you understand what a boat is and what it is for. A model only matches number patterns to labels. It can be confidently wrong about a picture that looks normal to you.
Why does it matter?
Computer vision is now built into many everyday tools. It can sort holiday photos, read number plates, check a face against an ID photo or count people in a shop. When it is wrong, the mistake can affect a real person.
Errors are not always spread evenly. A large US government test checked face recognition software. Most programs tested made more false matches for some groups of people than others.[2]
If you run a small business
What could happen: a "smart" camera you buy records and analyses customers' faces without anyone being told.
Check this: ask the supplier exactly what the camera detects, where the footage goes and how long it is kept.
If you are a student or new to AI
What could happen: you trust a high score and miss that the model was never shown pictures like yours.
Check this: look at what kinds of pictures the model was trained on, and test it on hard cases.
If you are new to security work
What could happen: someone tricks a vision system with a changed image, or steals the footage it stores.
Check this: treat the cameras and the model like any other system that needs patching and access control.
What does it look like?
Here is a made-up result from a camera that counts visitors in a shop. Real systems show similar lists, often on a dashboard.
Example only. All values are made up.
# camera EXAMPLE-CAM-01, frame 0000 object: person score: 0.97 box: (120, 40, 210, 300) object: person score: 0.91 box: (300, 60, 380, 310) object: dog score: 0.58 box: (400, 220, 470, 300) (1) object: handbag score: 0.44 box: (395, 210, 460, 290) (2) face_match: OFF (3) visitors_today: 0000
- A guess the model is not very sure about. The box gives the object's position in the picture.
- The same area also scores as a handbag. The model is unsure what it is seeing.
- This setting shows whether the camera also tries to recognise faces.
Why this is risky: people often read every line as fact. The low scores show the model is guessing. If face matching were switched on, the system would handle more sensitive personal data.
The safer way: set a score below which results are ignored or checked by a person. Switch off features you do not need, such as face matching. Tell people when cameras analyse them.
How does it work?
Most vision systems follow the same few steps.
- Capture. A camera takes a photo or a frame from a video.
- Turn it into numbers. Each pixel becomes numbers for its colour and brightness.[1]
- Find patterns. The model looks for small features, like edges and textures, then builds them into bigger shapes. Many models use a design called a neural network, a program loosely inspired by the brain.[1]
- Make a best guess. The model gives a label and a score that shows how sure it is.
- Act. A person or another app decides what to do with the result.

The same basic method can do several different jobs. It can sort a whole picture into a group, called image classification. It can find and box each object, called object detection. It can also follow an object from frame to frame in a video, called tracking.[1]

Vision systems can also be tricked. An attacker can make small, careful changes to an image, which a person may not notice. These changes can make a model give the wrong label. This is called an adversarial example.[3]
A worked example
Amara Brandt runs Fern Opticians, a fictional shop with two branches. She wants to know how many people walk in each day, to plan staff rotas.
A supplier, Hal Varga, offers a smart camera. "It counts people automatically," he says. "It can also spot returning customers by their faces."
Amara remembers that the camera only sees a mosaic of numbers. It does not understand people. It matches patterns and gives a score. So she asks three questions.
First, what does it need to do? She only needs a count. Recognising faces would mean handling much more sensitive data. The UK data protection regulator warns that AI camera systems can process more sensitive kinds of personal data.[4] She asks Hal to switch face matching off.
Second, how good is the count? Hal shows her the scores. Groups walking close together are sometimes counted as one person. Amara decides the numbers are good enough for rotas, but not for anything about a single person.
Third, where does the footage go? Hal confirms the camera can count without keeping video. Amara chooses that setting, changes the camera's default password and puts up a sign at the door.
A month later, the count helps her move one staff member to Saturdays. No faces were stored, and customers were told what the camera does.
Myths and mistakes
| What people think | What is true |
|---|---|
| The computer sees the picture the way I do. | It works with number patterns. It can be wrong about pictures that look easy to a person. |
| A 90% score means it is right 9 times in 10. | A score shows how sure the model is, which is not the same as how often it is right. Test it on your own pictures. |
| It works equally well for everyone. | Accuracy can differ between groups of people and between kinds of picture.[2] |
| Counting people is the same as recognising them. | Counting can work without knowing who anyone is. Recognising faces links images to identities and needs more care. |
| Only experts can fool a vision system. | Small changes to an image can mislead some models, so systems need testing against tricks.[3] |
What can I do this week?
- List the apps and cameras around you that might use computer vision.
- For one of them, find out what it detects and where the images go.
- Turn off features you do not need, such as face grouping in a photo app.
- Try a free image tool with an odd photo and see how its guesses and scores change.
Checklist
- We know what each camera or vision tool is meant to do.
- Features we do not need, such as face matching, are switched off.
- Low-scoring results are ignored or checked by a person.
- Important decisions about a person always involve a human.
- People are told when cameras analyse them.
- Footage is kept only as long as needed, and access is limited.
- Camera passwords have been changed from the defaults and updates are applied.
- The system has been tested on pictures like the ones it will really see.
Common questions
Is computer vision the same as AI?
It is one part of AI. Computer vision is the branch that works with images and video. Today it mostly uses machine learning, where a model learns from many labelled examples. Chatbots and voice assistants are other branches of AI that work with text and sound.
Is face recognition the same as computer vision?
No, face recognition is one use of computer vision. It compares a face in a picture with stored faces to find a match. Because it links a picture to a real person, privacy laws and fairness checks usually apply. Many vision tasks, such as counting cars, do not identify anyone.
Why does computer vision make mistakes?
It makes mistakes because it learns from examples, and no set of examples covers everything. Poor lighting, odd angles, blocked views or unusual objects can confuse it. If some groups or settings were rare in its examples, it may also be less accurate for them.
Can someone trick a computer vision system?
Yes, sometimes. Careful changes to an image can lead some models to the wrong answer, even when a person sees no difference.[3] Defences include testing with tricky images, checking inputs and keeping a human involved in important decisions.
Do I need to know maths to learn computer vision?
Not to start. You can learn the ideas and try free tools without maths. Building your own models later needs some maths and coding, mainly working with numbers in grids and basic statistics. Many free online courses begin with the ideas first.
Where next?
Ready for the detail? Read the practitioner guide: Adversarial Examples and Evasion Attacks Guide. It goes further into how vision and other models can be tricked, how teams test for it and which defences help.
Also useful:
- Machine Learning for Beginners
- Biometrics for Beginners
- Deepfakes and AI Fraud for Beginners
- Facial Recognition at Work Guide
Related NHI Mgmt Group resources: CCTV and Video Surveillance Privacy Guide · IP Camera and CCTV Security Guide · AI Image and Video Generators for Beginners
Key terms
- Computer vision
- Software that finds, names and follows things in images and video.
- Machine learning
- A way of building software that learns patterns from examples instead of following hand-written rules.
- Training data
- The labelled examples a model learns from.
- Neural network
- A type of model built from many simple connected steps, loosely inspired by the brain.
- Object detection
- Finding each object in a picture, naming it and marking where it is.
- Facial recognition
- Using computer vision to match a face in a picture to a known person.
- Adversarial example
- An input changed on purpose, often in small ways, to make a model give a wrong answer.
Sources and further reading
- What Is Computer Vision? IBM Think, 17 September 2025. https://www.ibm.com/think/topics/computer-vision, accessed 28 Nov 2026.
- NIST Study Evaluates Effects of Race, Age, Sex on Face Recognition Software (Face Recognition Vendor Test Part 3: Demographic Effects, NISTIR 8280). National Institute of Standards and Technology, 19 December 2019. https://www.nist.gov/news-events/news/2019/12/nist-study-evaluates-effects-race-age-sex-face-recognition-software, accessed 28 Nov 2026.
- ML01:2023 Input Manipulation Attack. OWASP Machine Learning Security Top 10, OWASP Foundation, 2023. https://owasp.org/www-project-machine-learning-security-top-10/docs/ML01_2023-Input_Manipulation_Attack, accessed 28 Nov 2026.
- Video surveillance (including guidance for organisations using CCTV). Information Commissioner's Office. https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/cctv-and-video-surveillance/guidance-on-video-surveillance-including-cctv/, accessed 28 Nov 2026.