Computer Vision for Defect Detection

CLIENT

NDA

INDUSTRY

Manufacturing

SERVICE

Edge Computing / Machine Learning

Our Client

A regional PVC pipe manufacturer supplying construction materials to hardware stores and large-scale infrastructure projects. The company produces a wide range of pipe sizes used for drainage, water supply, and conduit installations.

Challenge

The client faced quality control challenges that resulted in increased product waste and rejected shipments. Surface cracks, often caused during extrusion cooling, were difficult to detect manually. Uneven cuts led to inconsistent lengths and jagged edges, contributing to product rejection. Additionally, diameter variations caused fitting issues for clients in construction projects, further impacting overall product reliability. These issues caused:

Product Returns and Rework Costs: Increasing customer dissatisfaction and financial losses.

Manual Inspection Bottlenecks: Quality control staff couldn’t keep up with the production speed.

Inefficiencies in Machine Calibration: Variations were often noticed after bulk production runs, leading to significant waste.

Solution: Real-Time Defect Detection

To address these challenges, we developed and implemented an affordable, edge-based Computer Vision system for real-time defect detection and quality control on the production line. It works by following workflow:

Technology Stack

Hardware:

Industrial camera

High-speed, high-resolution image capture

NVIDIA Jetson Orin

Edge AI device for real-time analysis.

LED Lighting

For clear visibility on reflective surfaces.

Software:

OpenCV (Python)

For image preprocessing and defect detection.

TensorFlow Lite

For lightweight defect detection models.

Python

 For pipeline scripting and automation.

Docker

For simplified, containerized deployment.

Data Handling & Feedback:

PostgreSQL

For defect data storage and trend analysis.

Grafana

Real-time dashboard.

Result

This scalable Computer Vision system allowed the PVC manufacturer to automate quality control, reduce material waste, and prevent defective products from reaching customers—all without requiring expensive infrastructure upgrades. By combining edge computing with machine learning models, the client achieved consistent quality assurance while improving operational efficiency.