Computer Vision
What computer vision does
Computer vision helps machines read images and video. It turns pixels into useful signals. That could mean spotting a cracked part on a factory line, reading a stop sign, or counting items on a shelf.
In plain terms, the system looks at visual data and tries to answer a question. What is in this image? Where is it? Which exact pixels belong to it? Those are different jobs, and they need different kinds of labels.
The three core tasks most people mix up
These terms sound similar, but they solve different problems:
- Image classification means choosing one label for the whole image, like cat, damaged, or normal.
- Object detection means finding one or more objects and drawing boxes around them, like every helmet, car, or defect in the frame.
- Segmentation means marking the exact shape of the object, pixel by pixel. This is useful when the outline matters.
A quick way to remember it: classification answers what, detection answers what and where, and segmentation answers what, where, and which pixels.
Dive Deeper with BonsAI Chat
What data and labels you need
Good vision systems start with good examples. The model needs images or video that match the real world it will see later.
- For classification, each image needs a clear label.
- For detection, each object needs a box and a class name.
- For segmentation, each object needs a pixel-level mask.
The hard part is not just volume. It is coverage. You need bright scenes, dark scenes, blur, shadows, odd angles, crowded frames, and rare failures. If the training data is too clean, the model may look smart in testing and weak in real use.
Where this shows up in real products
Computer vision is already everywhere, even when users do not call it that.
- Phones use it for face unlock, camera focus, and photo search.
- Stores use it for shelf checks, counting, and checkout tools.
- Factories use it for quality inspection and safety gear checks.
- Cars use it to read lanes, signs, and nearby objects.
- Healthcare tools use it to help review scans and images.
The value is usually simple: faster checks, fewer misses, and better automation in places where humans get tired or overloaded.
What can go wrong
This is where many teams get surprised. A model can fail for reasons that seem small to a person.
- Lighting: glare, darkness, and shadows can change the image a lot.
- Bias: if some groups, settings, or object types are underrepresented, accuracy can drop unfairly.
- Edge cases: unusual angles, damaged items, fog, dirt, or partial views can confuse the model.
- False positives: the model says it found a problem when there is none.
- False negatives: the model misses the thing that matters.
Both error types matter. In safety work, a miss can be costly. In inspection work, too many false alarms can waste time and make people stop trusting the system.
Smart questions to ask before you trust a model
- What exact decision is this model making?
- Does the training data look like the real environment?
- What kinds of mistakes matter most here?
- Has the model been tested on rare but important cases?
- Who reviews bad predictions and feeds that data back in?
The key idea is simple: computer vision is not just about teaching a model to see. It is about making sure it sees the right things, in the right conditions, for the right decision.