Image acquisition
Make the feature visible first.
Machine vision uses industrial cameras and image processing to inspect or locate objects. Image acquisition includes the lens, illumination, exposure, triggering and the way the product is presented. A higher-resolution camera does not compensate for glare, motion blur or a feature hidden from view.
Lighting establishes contrast between the feature and its surroundings. Backlighting can reveal an outline; diffuse illumination may reduce reflections on some surfaces. The appropriate arrangement depends on material, geometry and the defect being sought. Enclosures can limit changes from windows or nearby lighting.
Position verification checks that a part is present and correctly oriented. Feature detection locates edges, holes or patterns. Both require a defined operating range, including the normal variation of acceptable parts.
Methods & limitations
Choose a method that fits the question.
Conventional rule-based vision applies explicit operations, such as checking an edge distance against a tolerance or matching a known shape. It can be transparent and maintainable when features are well defined. Systems using machine learning infer patterns from training examples, which may help with variable visual appearances but introduces dataset and model-management responsibilities.
Dimensional measurement requires calibration, stable geometry and an uncertainty assessment appropriate to the tolerance. Perspective, lens distortion and changes in working distance can affect results. Pixel count alone is not a measurement capability statement.
Sensor-assisted inspection combines images with another signal, such as height, weight or displacement. That can expose a condition that a single camera cannot observe, but the signals must be associated with the same physical part.
Automated inspection does not eliminate all defects. An invisible internal flaw needs a suitable alternative inspection method.
Validation & evidence
Test the difficult boundaries.
A false positive rejects an acceptable part. A false negative accepts a defective one. The consequences differ by application, so define acceptable decision performance with quality and process specialists. Do not tune only for a visually impressive demonstration.
Use representative good parts, known defects and borderline examples across materials, suppliers, shifts and product presentation. Keep an independent test set separate from training or tuning data. Inadequate reference samples can make both rule-based and machine-learning systems appear more reliable than they are.
Inspection repeatability should be assessed under controlled repeated presentations and credible production variation. Record conditions, software versions and threshold changes. Changing packaging, surface finish or lighting may require renewed validation, even when the product drawing is unchanged.
Common mistakes include collecting only obvious defects, ignoring lens contamination and selecting an algorithm before proving that the target feature is consistently visible.
Production integration
Connect the decision to the right part.
Line integration needs reliable triggers, timestamps or identifiers, and enough processing time before the reject or routing point. Verify rejection confirmation rather than assuming that a command removed a part. Define behaviour for missing images, full reject bins and loss of communication.
Inspection records may contain measurements, decisions and selected images. Decide what evidence is necessary, who can access it and how long it is retained. Avoid collecting personal information unnecessarily through cameras intended to inspect products.
Food-production environments introduce cleaning, condensation and material-compatibility considerations. These require application-specific design; an illustration of enclosed equipment does not demonstrate hygiene certification. Maintain optical surfaces, check illumination ageing and establish recalibration triggers. Maintenance inside machinery requires appropriate isolation and safe access procedures.
Implementation checklist
Define the inspection contract.
- Specify the defect, measurement or position question precisely.
- Prove lighting and presentation across realistic variation.
- Agree on reference samples and independent validation conditions.
- Test false decisions, reject handling and missing-data responses.
- Document records, access, cleaning, calibration and change control.
Use qualified metrology and quality expertise when measurement uncertainty or defect consequences are significant.