[Paper Review] Vision-based inspection system employing computer vision & neural networks for detection of fractures in manufactured components.
This paper presents a hybrid vision-based inspection system combining OpenCV for edge detection and a retrained Inception V3 model in TensorFlow to detect surface fractures in manufactured gears. The system uses a dataset of 400 images (200 normal, 200 fractured) to train a deep learning model that achieves high accuracy in distinguishing between defective and non-defective gears, with human operators using computer vision outputs to validate ambiguous predictions.
We are proceeding towards the age of automation and robotic integration of our production lines [5]. Effective quality-control systems have to be put in place to maintain the quality of manufactured components. Among different quality-control systems, vision-based inspection systems have gained considerable amount of popularity [8] due to developments in computing power and image processing techniques. In this paper, we present a vision-based inspection system (VBI) as a quality-control system, which not only detects the presence of defects, such as in conventional VBIs, but also leverage developments in machine learning to predict the presence of surface fractures and wearing. We use OpenCV, an open source computer-vision framework, and Tensorflow, an open source machine-learning framework developed by Google Inc., to accomplish the tasks of detection and prediction of presence of surface defects such as fractures of manufactured gears.
Motivation & Objective
- To develop an automated, real-time quality control system for detecting surface fractures in manufactured gears.
- To integrate computer vision and machine learning for improved defect detection beyond traditional image processing.
- To reduce reliance on human inspection by leveraging probabilistic predictions from a deep learning model.
- To validate model predictions using a computer vision subsystem for human operator review.
- To improve detection accuracy by combining edge detection filters with transfer learning on a small, targeted dataset.
Proposed method
- The system uses OpenCV to apply a filter-bank of four convolutional filters—Sobel X, Sobel Y, Laplacian, and Sharpen—on grayscale images to highlight edges and potential fractures.
- Grayscale conversion is used to reduce computational load, enhancing efficiency for embedded systems like FPGAs.
- A pre-trained Inception V3 model is fine-tuned by retraining its final layers on a custom dataset of 400 gear images (200 normal, 200 fractured) using transfer learning.
- The dataset was collected via a Google Images web scraper, ensuring diverse visual examples of gear defects.
- The model is trained using a 60% training, 20% validation, and 20% test split to prevent overfitting and evaluate generalization.
- Prediction is made probabilistically: if the probability of 'broken gear' exceeds 0.5, the component is flagged for rejection.
Experimental results
Research questions
- RQ1Can a hybrid system combining traditional computer vision and deep learning improve fracture detection in manufactured gears compared to conventional methods?
- RQ2How effective is transfer learning with Inception V3 on a small, custom dataset of gear images for classifying surface fractures?
- RQ3To what extent can OpenCV-based edge detection complement deep learning predictions in reducing false positives or missed defects?
- RQ4How does the integration of human-in-the-loop validation via computer vision outputs improve system reliability?
- RQ5What impact does dataset size have on the model’s prediction accuracy and generalization capability?
Key findings
- The retrained Inception V3 model achieved high training and validation accuracy, with cross-entropy decreasing over time, indicating effective learning.
- The system correctly classified the majority of gear images, with only a few misclassifications observed in the test set, as shown in Table II.
- In one case (serial no. 2), the model incorrectly labeled a normal gear as broken, highlighting a limitation due to dataset size.
- The use of grayscale images with convolutional filters improved processing speed and reduced computational load.
- The integration of OpenCV for visual feedback allowed human operators to verify ambiguous predictions, enhancing system reliability.
- The model's performance was sensitive to dataset size, with suggestions to expand the dataset to reduce misclassification errors.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.