GlossaryComputer vision
Computer vision
Computer vision is the field of AI that gets useful information from images and video: recognizing objects, finding and measuring them, tracking motion and understanding scenes. Computer vision relies mostly on deep neural networks trained on large sets of images.
How it works
Common tasks include:
- Classification, which assigns a label to a whole image, such as "solder bridge" or "good."
- Object detection, which finds objects and draws boxes around them, such as every part on a board.
- Segmentation, which labels every pixel, such as outlining the exact shape of a solder fillet.
- Pose and keypoint estimation, which finds the position and orientation of objects or their features.
- Tracking, which follows objects across video frames.
Convolutional neural networks were the main architecture for years. A 2015 paper on residual networks made very deep networks trainable and greatly improved image recognition. Another 2015 paper framed object detection as a single fast pass over the image, enabling real-time detection. Vision transformers, which apply attention to image patches, are also widely used, and multimodal models connect vision to language. Promptable foundation models go further. A segmentation model trained on a very large set of masks can outline objects from a point or box prompt, including objects outside its training categories, and open-set detectors find objects named in a text prompt instead of a fixed label list.
Models are trained on labeled images. For a specific task, a model pretrained on general images is usually fine-tuned on a smaller set of task images, which needs far less data than training from scratch.
Computer vision vs machine vision
Machine vision is the industrial practice of automated visual inspection and guidance, with controlled lighting, optics and timing on a production line. Computer vision is the broader field of methods. Machine vision systems use computer vision methods, both classical rules and learned models, inside an engineered setup that makes the images consistent.
Why it matters
Many inspection and handling tasks need judgment that is hard to write as rules: is this joint acceptable, is this part the right one, is this a scratch or a reflection. Learned vision models handle variation in appearance better than fixed thresholds, and they improve as they see more labeled examples.
In manufacturing, computer vision supports defect classification after AOI, X-ray image review, part and marking recognition, operator guidance and robot picking.
Its limits matter as much as its strengths. A learned model is only as good as the images it was trained on. It can fail on a part finish, board color or lighting change it has never seen, and it gives no warning when it does. That is why production systems pair learned models with controlled imaging, confidence thresholds and people who review uncertain results.
How to get it right
- Control the images. Consistent lighting, focus and position do more for accuracy than a larger model.
- Label carefully. Use clear class definitions and consistent labels, since a model learns label noise.
- Hold out a test set. Measure performance on images the model did not train on, including rare defects.
- Watch both errors. Track false calls and missed defects separately, since they have very different costs.
- Plan for change. New parts, finishes and suppliers change how images look. Monitor performance and retrain when it drops.
- Keep a person on hard cases. Route low-confidence results to a reviewer, and use their decisions as new training data.
Computer vision in robotics and drone hardware
Robots and drones use computer vision for navigation, obstacle avoidance, object recognition and manipulation, so many of their boards carry cameras, image processors and AI accelerators with high-speed interfaces.
In the factories that build those boards, computer vision inspects joints and parts, reads markings and guides automated handling. High-mix builds give each product few images to learn from, so models that generalize across parts and boards, and that learn from reviewer decisions, are the practical choice.