Maintenance
Submit a request
Find projects
Find engineers
Become a Pro
Join as a pro
Join to take projects
Pro service regulations
Open Projects
For Sellers
Join as a seller
Create your product show room
Seller service regulations
Buy Parts
Find a Job
Pricing
Blog
Sign up | Log in
Maintenance
Submit a request
Find projects
Find engineers
Become a Pro
Join as a pro
Join to take projects
Pro service regulations
Open Projects
For Sellers
Join as a seller
Create your product show room
Seller service regulations
Buy Parts
Find a Job
Pricing
Blog

Machine Vision System Missing Defects: Causes and Solutions


Introduction

Machine vision systems play an essential role in modern manufacturing by automatically inspecting products, identifying defects, and supporting consistent quality control. From automotive components and battery materials to electronics, metal parts, and packaging, automated visual inspection helps manufacturers detect quality problems at production speed.

However, even a well-designed machine vision system can miss defects. Scratches, cracks, contamination, dimensional abnormalities, and other product imperfections may pass through inspection without being detected. These false negatives can lead to customer complaints, rework, scrap, product recalls, and increased manufacturing costs.

Why do machine vision systems miss defects, and how can manufacturers improve detection performance?

In many cases, the problem is not simply the camera or the inspection algorithm. Detection accuracy depends on the entire inspection process, including lighting, image quality, product presentation, defect characteristics, software configuration, and system validation.

This article explains six common reasons machine vision systems miss defects and provides practical solutions to improve automated inspection reliability.

1. Poor Lighting and Inconsistent Illumination

Why it happens

Lighting is one of the most important factors in machine vision inspection. A defect must create sufficient visual contrast against the surrounding surface to be detected reliably.

Poor or inconsistent illumination can make defects nearly invisible. Common problems include:

  • Insufficient light intensity.

  • Uneven illumination across the inspection area.

  • Glare and reflections from metallic or glossy surfaces.

  • Shadows caused by product geometry.

  • Changes in lighting intensity over time.

  • Incorrect lighting angles for the target defect.

For example, a small scratch on a reflective aluminum surface may be difficult to distinguish under direct overhead lighting. The reflected light can overwhelm the scratch's visual contrast, causing the inspection algorithm to classify the product as acceptable.

Solutions

Select lighting based on the defect characteristics.

Different lighting techniques reveal different types of defects:

  • Bright-field lighting: Useful for general surface inspection and certain visible defects.

  • Dark-field lighting: Can highlight scratches, edges, and surface irregularities.

  • Backlighting: Effective for detecting holes, gaps, silhouettes, and dimensional variations.

  • Diffuse lighting: Helps reduce glare on reflective or curved surfaces.

  • Coaxial lighting: Can improve inspection of certain flat, reflective surfaces.

Manufacturers should also consider light intensity, working distance, color, angle, and environmental conditions.

Use controlled lighting enclosures when ambient light could affect image consistency. Where appropriate, monitor illumination performance and establish maintenance intervals for light sources.

Best practice: Validate the lighting setup using representative defective samples, including the smallest and least visible defects that the system must detect.

2. Incorrect Camera Resolution, Lens Selection, or Camera Position

Why it happens

A machine vision system cannot reliably detect a defect if the defect does not occupy enough pixels in the captured image.

Several hardware-related issues can reduce detection capability:

  • Camera resolution is too low.

  • The lens does not provide sufficient optical resolution.

  • The field of view is too large for the required defect size.

  • The camera is positioned at an unsuitable angle.

  • The working distance is incorrect.

  • Focus is poor or inconsistent.

  • Motion blur occurs during image capture.

For example, if a camera captures a 200 mm-wide inspection area across 1,000 horizontal pixels, the nominal image scale is 0.2 mm per pixel. A 0.1 mm defect may occupy less than one pixel and may not be reliably distinguishable.

Actual detectability also depends on contrast, optical quality, sensor characteristics, and the defect's shape and orientation. Pixel size alone does not establish detection capability.

Solutions

Match the imaging hardware to the smallest required defect.

Start by defining the minimum defect size that must be detected. Then evaluate the camera resolution, field of view, lens magnification, working distance, and optical performance.

Recommended actions include:

  1. Calculate the approximate object-space pixel scale.

  2. Select a lens with sufficient optical resolution.

  3. Optimize the camera angle to expose the target defect.

  4. Use appropriate depth of field to accommodate product variation.

  5. Control exposure time and use suitable strobed lighting for moving products.

  6. Verify image sharpness and repeatability at actual production speed.

For applications involving very small defects, line-scan cameras, higher-resolution area-scan cameras, or multiple camera views may be necessary.

Best practice: Confirm the imaging system's ability to resolve the smallest defect before investing heavily in software development.

3. Defect Appearance Is Too Variable

Why it happens

Real manufacturing defects rarely look identical. Their appearance can vary with product material, surface finish, location, orientation, size, color, and production conditions.

A defect detection algorithm may successfully identify one type of scratch but miss another scratch with a different direction or contrast.

Common sources of variation include:

  • Differences between suppliers or material batches.

  • Changes in surface texture or color.

  • Defects with irregular shapes.

  • Contamination that resembles normal surface variation.

  • Defects located near edges, seams, or curved surfaces.

  • Changes in product position or orientation.

This is particularly challenging for reflective metal parts, battery electrodes, aluminum and copper foil, plastic components, and electronic assemblies.

Solutions

Build a representative defect library.

Collect and classify actual defect samples from production and supplier quality investigations. Include both obvious defects and borderline cases.

Develop a structured defect taxonomy, such as:

  • Scratches and abrasions.

  • Cracks and fractures.

  • Dents and deformation.

  • Contamination and foreign particles.

  • Missing components.

  • Dimensional abnormalities.

  • Surface coating or material inconsistencies.

For each defect category, record relevant characteristics such as size, location, severity, material, and orientation.

Where practical, use controlled defect samples to challenge the system under different operating conditions.

For rule-based inspection, consider whether the algorithm is too sensitive to variations in appearance. For AI-based inspection, ensure that the training and validation datasets cover realistic production variability.

Best practice: Do not validate a vision system using only a few visually obvious defects. Test a broad range of defect types, sizes, orientations, and production conditions.

4. Incorrect Inspection Algorithm or AI Model Limitations

Why it happens

The inspection software determines how images are converted into pass/fail decisions. Even with high-quality images, the system may miss defects if its algorithms or decision thresholds are inappropriate.

Traditional machine vision systems may rely on thresholding, edge detection, pattern matching, geometric measurements, or rule-based image processing.

AI-based systems may use classification, object detection, segmentation, or anomaly detection.

Common failure mechanisms include:

  • Defect thresholds are too permissive.

  • Image-processing parameters are poorly configured.

  • The algorithm is sensitive to background variation.

  • The training dataset contains insufficient defect examples.

  • Defective samples are underrepresented.

  • Training labels are inaccurate or inconsistent.

  • The model performs poorly on new product variants.

  • The production environment differs from the training environment.

For example, an AI model trained mainly on large scratches may fail to identify small cracks or contamination patterns that were rarely represented in the training data.

Solutions

Select and validate the algorithm against the actual inspection requirement.

For rule-based systems, review image preprocessing, threshold settings, regions of interest, feature extraction, and pass/fail criteria.

For AI-based systems:

  1. Include representative good and defective samples.

  2. Ensure consistent defect labeling.

  3. Separate training, validation, and test datasets appropriately.

  4. Evaluate performance on previously unseen samples.

  5. Review false negatives by defect type and severity.

  6. Revalidate models when products, materials, lighting, or process conditions change.

Adjusting the decision threshold may improve defect detection, but it can also increase false rejects. Therefore, threshold optimization should consider both missed defects and false alarms.

Best practice: Evaluate the system using a confusion matrix, paying particular attention to the false-negative rate for critical defects.

5. Product Positioning, Motion, and Triggering Problems

Why it happens

Machine vision software can only inspect the information captured in the image. If the product is not correctly positioned, the target area may be distorted, obscured, or missing from the inspection image.

Typical problems include:

  • Product misalignment.

  • Inconsistent part orientation.

  • Vibration or movement during image capture.

  • Incorrect encoder or sensor triggering.

  • Timing errors between product movement and image acquisition.

  • Overlapping products or occluded surfaces.

  • Inadequate coverage of complex geometries.

In high-speed production lines, even a small timing error can result in inspecting the wrong location or capturing a blurred image.

For example, a vision system inspecting a continuously moving metal strip may miss an edge defect if the camera trigger is not synchronized correctly with the strip's movement.

Solutions

Stabilize product presentation and synchronize image acquisition.

Recommended actions include:

  • Use suitable fixtures, guides, or positioning mechanisms.

  • Establish consistent product orientation.

  • Synchronize camera triggers with photoelectric sensors or encoders.

  • Verify trigger timing at maximum production speed.

  • Use appropriate exposure times and strobe lighting to minimize motion blur.

  • Inspect multiple views when a single camera cannot see all critical surfaces.

  • Monitor image quality and confirm that every required inspection area is captured.

For web materials such as aluminum foil, copper foil, separator films, or coated electrode rolls, inspection design should account for line speed, strip vibration, wrinkles, edge position, and full-width coverage.

Best practice: Verify inspection coverage across the entire product or web, not just within a small sample of the inspection area.

6. Inadequate Validation, Monitoring, and Maintenance

Why it happens

A machine vision system that works during initial installation may gradually lose effectiveness as production conditions change.

Potential causes include:

  • Camera or lighting movement.

  • Dirty lenses or protective windows.

  • Changes in product specifications.

  • New suppliers or material batches.

  • Software or parameter changes.

  • Calibration drift.

  • Deterioration of mechanical positioning.

  • Lack of periodic performance verification.

  • Insufficient monitoring of false negatives.

A system may continue to report high pass rates even when it has begun missing defects. Without independent verification, manufacturers may not recognize the decline in detection performance.

Solutions

Establish a formal machine vision validation and monitoring plan.

A robust plan should include the following elements.

1. Define defect detection requirements

Specify the defect categories, minimum detectable size, inspection area, operating speed, and acceptance criteria.

2. Conduct challenge testing

Use known defective samples to verify detection performance. Include critical defects, borderline defects, and representative good parts.

3. Measure false-negative and false-positive rates

A false negative occurs when a defective product is classified as acceptable. A false positive occurs when an acceptable product is incorrectly rejected.

Track both metrics because reducing one can sometimes increase the other.

4. Verify performance periodically

Use approved challenge samples at defined intervals, such as at startup, after maintenance, after parameter changes, and at other risk-based checkpoints.

5. Control software and recipe changes

Maintain version control and require appropriate validation before releasing changes to production.

6. Establish escalation criteria

Define what happens when a challenge sample is missed, image quality deteriorates, or performance falls below the approved requirement. Depending on risk, actions may include stopping inspection release, containing affected product, investigating the cause, and revalidating the system.

Best practice: Treat machine vision as a controlled inspection process rather than a one-time equipment installation.


How to Measure Machine Vision Inspection Performance

To determine whether a machine vision system is effective, manufacturers should measure detection performance using known-good and known-defective samples.

Three useful metrics are:

1. Defect Detection Rate

The defect detection rate measures the proportion of actual defective samples that the system correctly identifies.

Formula:

Defect Detection Rate = True Positives / (True Positives + False Negatives) × 100%

A low detection rate indicates that too many defective samples are passing inspection.

2. False-Negative Rate

The false-negative rate measures the proportion of actual defective samples incorrectly classified as acceptable.

Formula:

False-Negative Rate = False Negatives / (True Positives + False Negatives) × 100%

For critical defects, the acceptable false-negative rate should be defined according to product risk, customer requirements, and the validated inspection capability.

3. False-Reject Rate

The false-reject rate measures the proportion of acceptable samples incorrectly classified as defective.

Formula:

False-Reject Rate = False Positives / (True Negatives + False Positives) × 100%

A high false-reject rate can lead to unnecessary scrap, rework, manual inspection, and production interruptions.

Example

Suppose a validation test includes 200 known-defective samples. The vision system detects 190 and misses 10.

  • Defect detection rate: 95%

  • False-negative rate: 5%

Although the system detects most defects, a 5% miss rate may be unacceptable for safety-critical or high-risk applications.

The required performance should be determined by risk assessment and customer specifications, not by an arbitrary universal threshold.

A useful validation report should also separate results by defect type, defect size, material, production speed, and inspection location. Aggregate performance alone can hide weaknesses in specific defect categories.

Machine Vision Inspection Checklist

Before releasing an automated inspection system to production, confirm the following:

  • The minimum required defect size is defined.

  • Camera resolution and lens performance are adequate.

  • Lighting provides sufficient contrast for target defects.

  • Product positioning and image acquisition are repeatable.

  • All required inspection areas are covered.

  • Representative defective samples have been tested.

  • False-negative and false-positive rates are measured.

  • The system has been tested at actual production speed.

  • Software parameters and model versions are controlled.

  • A periodic verification and maintenance plan is established.

  • Clear containment and escalation procedures are available.

Conclusion

Machine vision systems can significantly improve manufacturing quality, but they are not automatically reliable simply because they use high-resolution cameras or advanced AI.

The six most common reasons they miss defects are poor lighting, inadequate imaging hardware, variable defect appearance, algorithm or model limitations, product positioning and triggering problems, and insufficient validation or maintenance.

The most effective improvement strategy is to evaluate the entire inspection chain—from defect definition and image acquisition to software decisions and ongoing performance verification.

By combining appropriate hardware, well-designed algorithms, representative defect samples, systematic validation, and routine monitoring, manufacturers can reduce missed defects and build a more reliable automated quality inspection process.

Need help with industrial maintenance or machine vision inspection challenges? Visit MaintenanceFixer.com to explore industrial maintenance, engineering, equipment repair, and sourcing resources.


Frequently Asked Questions (FAQ)

Why does a machine vision system miss small defects?

Small defects may not produce enough contrast or occupy enough pixels to be reliably distinguished. Camera resolution, lens quality, lighting, focus, and the defect's orientation all influence detection capability.

Can AI eliminate missed defects in machine vision inspection?

No. AI can improve detection for complex and variable defect patterns, but performance depends on image quality, training data, model design, validation, and changes in production conditions. No system should be assumed to detect every defect.

How can I reduce false negatives in automated visual inspection?

Start by improving image quality, verifying hardware resolution, testing representative defect samples, reviewing missed detections, optimizing decision thresholds, and implementing ongoing challenge testing.

What is the difference between a false negative and a false positive?

A false negative occurs when a defective product passes inspection. A false positive occurs when an acceptable product is incorrectly rejected.

How often should a machine vision system be validated?

Validation frequency depends on the application risk, process stability, customer requirements, and system design. Verification is especially important after maintenance, calibration, software changes, product changes, or other events that could affect detection performance.

Is machine vision suitable for inspecting battery materials and metal foils?

Yes. Machine vision can support inspection of scratches, contamination, edge defects, coating irregularities, and other visible abnormalities. The imaging setup must be tailored to the material, surface reflectivity, defect dimensions, web speed, and required inspection coverage.


< Previous Next >
About us
Our Mission
Our Strength
Why MaintenanceFixer
Help center
Terms & Conditions
Privacy Policy
Payment Policy
FAQ
Links
Maintenance
Become a Pro
Open Projects
For Sellers
Find a Job
Contact
support@maintenancefixer.com
Website: https://maintenancefixer.com

© Copyright 2026 by MaintenanceFixer Web design BUNZE
Cookies
This website uses cookies
This website uses cookies to improve user experience. By using our website, you consent to all cookies in accordance with our Cookie Policy.
  Cookies settings

This website uses cookies

This website uses cookies to improve user experience. By using our website, you consent to all cookies in accordance with our Cookie Policy.

  • Home
  • Profile

Essential Cookies

These cookies are essential for basic website functionality, such as user logins and website security. Without these cookies, the core functionality of the website will not work properly. These cookies are usually set automatically when you use the website services and are deleted when you close your browser or expire after a certain period of time.

Detail

Analytics Cookies

Analytical cookies help us understand how visitors use our website. This data helps us improve website content and user experience. We use these cookies to analyze user behavior patterns and optimize our services.

Detail

Functionality Cookies

Functionality cookies allow the website to remember choices you make, such as your language preference. These cookies enable you to have a more personalized browsing experience, such as remembering your user name, language choice, or other customized settings, making your next visit more convenient.

Detail

Cookies are small text files that are placed on your computer by websites you visit. Websites use cookies to help users navigate efficiently and perform certain functions. Cookies that are required for the website to operate properly are allowed to be set without your permission. All other cookies must be approved before they can be set in the browser. You can change your consent to the use of cookies at any time on our Privacy Policy page.