Why Vision Inspection Projects Should Define Standards Before Tuning Parameters
Why Vision Inspection Projects Should Define Standards Before Tuning Parameters

Why Vision Inspection Projects Should Define Standards Before Tuning Parameters

Technical Articles

Why Vision Inspection Projects Should Define Standards Before Tuning Parameters

A practical engineering view of why industrial vision inspection projects often fail at the standard-definition stage rather than at the camera or algorithm stage.

In many industrial vision inspection projects, teams first discuss camera resolution, lighting, algorithms and recognition speed. These factors matter, but they do not solve the most common implementation problem: the system has no stable business boundary unless the inspection standard is defined first.

Standard definition comes before parameter optimization

A vision system needs clear definitions for the inspection object, defect boundary and result handling. The object may be a printed character, QR code, label position, packaging defect, missing assembly feature or surface contamination. The boundary may be offset tolerance, stain area, broken line level, readability grade or blocked region.

If these rules are not agreed before commissioning, every parameter change becomes a negotiation between production, quality and equipment teams. The algorithm may become better, but the project still cannot tell the difference between an acceptable edge case and a real defect.

Vision inspection project defining object, defect boundary and tolerance before parameter tuning
Define the inspection object, defect boundary, handling rule and tolerance before tuning camera parameters.

The sample library must include borderline samples

A reliable project cannot be validated only with perfect OK samples and obvious NG samples. Borderline samples are the most valuable because they reveal where false rejection and missed detection are likely to happen.

The sample set should include standard OK samples, clear NG samples, borderline samples, different material batches, reflective or low-contrast samples, lighting variation and typical on-site abnormal samples. This makes the inspection logic closer to real production conditions.

Vision inspection sample library containing OK, borderline and NG examples
A useful sample library includes clear OK, borderline and NG cases as well as batch and lighting variation.

Offline validation and online commissioning are different tasks

Offline validation should focus on imaging quality, lighting stability, field of view, reflection control, depth of field, resolution and material variation. Online commissioning should focus on PLC trigger timing, encoder signals, conveyor speed, product spacing, rejection delay, alarm logic and stop strategy.

Mixing these two phases makes problem diagnosis difficult. A blurred image, a delayed trigger and an incorrect rejection action are different failures, even if they appear as the same final NG result.

Comparison of offline vision validation and online production commissioning
Offline validation proves imaging capability, while online commissioning must also validate timing, speed, rejection and alarms.

Inspection should close the loop with production data

A vision inspection system should not only output OK or NG. For traceability, it should bind the result to product ID, batch, time, station and handling action. When the system detects a defect, the response may be alarm, reject, stop, recheck or data upload.

The value of inspection increases when it becomes a quality node in the production line rather than an isolated camera station.

Closed-loop vision inspection linking OK and NG decisions to PLC actions and production data
Close the loop by converting inspection decisions into PLC actions and linked production records.


A practical inspection checklist for commissioning

Production, quality and engineering teams should agree the acceptance rules before approving camera settings. Use representative products from the intended line, including borderline examples. The checklist below connects each inspection target with a test and an agreed response; it does not prescribe universal tolerances or guarantee detection performance.

Agree the boundary, test it and record what happened
Checkpoint Acceptance boundary and test samples Control response and evidence
Text and 2D codes Define required content, location and readability. Test correct, missing, incomplete and incorrect codes on the actual material. Agree how failed reads or content mismatches are handled. Save the result, captured image where required and job reference.
Label presence and position Agree the permitted position and orientation. Include absent, shifted, skewed and borderline labels across expected package formats. Check the agreed alarm or rejection action. Record the detected condition and the affected product or batch.
Borderline defects Have the quality team classify acceptable and unacceptable edge cases. Include relevant surface, reflection and batch variation. Review disagreements against the approved sample set. Keep the sample reference and the decision used to approve the recipe.
Trigger and rejection timing Test expected product spacing and line speeds, including agreed stop and restart conditions. Confirm that inspection follows the intended product. Verify that the control response reaches the correct item. Record the test condition, command and observed handling result.
Data matching Check that code content and inspection results match the active job, product and batch. Test agreed mismatch or missing-data scenarios. Confirm the response with the line-control team. Retain the identifiers, inspection outcome and handling record needed for traceability.

For equipment selection, compare the LPV500 vision inspection system with your inspection target. For connected codes, review GS1 2D code preparation. See the production context for pharmaceutical and medical applications or food and beverage packaging.

Practical takeaway

The practical starting point for a vision inspection project is not to ask which algorithm is strongest. It is to ask who defines the standard, how borderline samples are handled, how trigger and rejection timing are verified, and how results are returned to the production data chain.

Stable and reliable vision inspection system built by defining, validating and connecting standards
A stable vision system starts with standards, validates the full operating range and connects results to production control.

Need to evaluate a real production scenario?

Lugsicher can help review materials, marking targets, line speed, vision inspection and data feedback requirements before equipment selection.

Discuss a project
Download materials