Smart-Inspect: Micro Scale Localization and Classification of Smartphone Glass Defects for Industrial Automation

M. Usman Maqbool Bhutta, Shoaib Aslam, Peng Yun, Jianhao Jiao, Ming Liu

Abstract

Smart-Inspect is a semi-supervised learning framework designed to automate the microscopic inspection of smartphone glass. By leveraging a 16K line camera and a multi-stage computer vision pipeline, the system can localize and classify defects as small as 5 microns—surpassing the human eye's limit by a factor of twenty. The framework successfully distinguishes actual damage from "noise" like dust particles and sensor holes, addressing critical challenges in high-precision industrial automation.

Introduction

In smartphone manufacturing, glass quality is a critical parameter. Traditional manual inspection faces significant hurdles: the human eye cannot reliably detect defects smaller than 100 microns, and the process is inherently slow, inconsistent, and prone to fatigue. Furthermore, automated systems often struggle to differentiate between functional features (e.g., camera holes), temporary contaminants (dust), and permanent structural defects (scratches or pits). Smart-Inspect addresses these issues by combining high-resolution imaging with a robust semi-supervised classification pipeline.

Methodology

The Smart-Inspect framework utilizes a specialized hardware setup and a four-stage software pipeline to achieve high-precision defect detection.

Hardware Configuration

The system employs a 16K line camera capable of capturing 400MB images of the glass surface. This high resolution is essential for detecting defects at the 5-micron scale. The setup includes a controlled light source and a conveyor system to facilitate consistent imaging.

The hardware setup including the 16K line camera, light source, and conveyor system.

Software Pipeline

The software architecture consists of four distinct stages:

  1. Localization: The system applies a Sobel operator and morphological dilation to identify suspicious regions in the 16K image. A Continuous Regions Selection Algorithm, utilizing Non-Maximum Suppression (NMS), crops these areas into 224x224 pixel patches.
  2. Feature Extraction: These patches are processed through a pre-trained ResNet-18 network, generating 512-dimensional feature vectors.
  3. Semi-Supervised Filtering: To minimize manual labeling, iterative K-means clustering is used. By analyzing a small labeled subset within clusters, the system identifies and removes clusters representing non-defect areas like sensor regions or reflections.
  4. Classification: A Random Forest (RF) classifier categorizes the remaining regions into six classes: scratches, pits, cracks, dust, sensor regions, and on-glass reflections.
The multi-stage pipeline for contouring defects, applying NMS, and preparing patches for ResNet-18 feature extraction.

Experimental Setup and Datasets

The study was conducted using a custom dataset of 274 high-resolution (16K) glass images. From these, 1,072 crops were extracted and manually labeled to provide ground truth. The dataset encompasses various defect types (scratches, pits, cracks) alongside non-defect features such as QR codes, speaker holes, and camera ports.

Results and Discussion

Smart-Inspect demonstrated significant improvements over manual inspection and traditional automated methods:

  • Accuracy: The system achieved an overall accuracy of 97.77% on clean samples.
  • Precision: It was exceptionally effective at identifying scratches, reaching a precision of 0.9945.
  • Sensitivity: In experimental trials, the system identified defects on samples previously cleared by human inspectors, highlighting its superior resolution.
  • Efficiency: Processing a full 400MB image takes 10–20 seconds. While slower than a human glance, it provides a level of consistency and detail that manual inspection cannot match.

Conclusion and Future Work

While Smart-Inspect offers a robust solution for micro-scale defect detection, environmental factors remain a challenge. Accuracy can drop to approximately 75% in dusty environments where particles mimic the reflective properties of pits or scratches. Future research will focus on integrating GPU acceleration and advanced architectures like Faster R-CNN to achieve real-time processing speeds. Additionally, maintaining a controlled, contaminant-free environment is essential for maximizing the system's industrial efficacy.

Summary updated

BibTeX
@inproceedings{bhutta2020smart,
  author = {M. Usman Maqbool Bhutta and Shoaib Aslam and Peng Yun and Jianhao Jiao and Ming Liu},
  title = {{Smart-Inspect: Micro Scale Localization and Classification of Smartphone Glass Defects for Industrial Automation}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2020},
  doi = {10.1109/iros45743.2020.9341509},
}
Figure