Abstract
In industrial production, quality inspection typically relies on a large workforce performing manual checks based on subjective experience. This paper introduces CDDNet (Cooker Defect Detection Network), a specialized multi-class detection framework designed to automate this process. The system incorporates a quantization-aware training procedure to maintain high accuracy while reducing device latency. By leveraging cross-domain transfer learning and an iterative training method, CDDNet demonstrates robust performance even with limited domain-specific data. Experimental results show that the proposed scheme significantly improves the trade-off between detection precision and real-time inference speed.
Introduction
Surface defect inspection is a critical stage in cooker manufacturing. Traditional manual inspection is prone to human fatigue and inconsistency due to subjective criteria. Automating this task with computer vision is challenging because defects like scratches, pits, and oil stains are often tiny and appear on complex, reflective metallic surfaces. While deep learning models like the Single Shot MultiBox Detector (SSD) offer a baseline for object detection, they often struggle with the extreme scale variations and data imbalances found in industrial settings.
The CDDNet Architecture
CDDNet builds upon the SSD framework with specific modifications to address the "tiny defect" problem. Standard architectures often lose fine-grained spatial information in deep convolutional layers. To counteract this, CDDNet integrates shallow feature maps (specifically from the Conv3_3 layer) into the prediction head. This ensures that high-resolution details necessary for identifying small defects, such as 38x38 pixel pits, are preserved throughout the network.
Furthermore, the researchers implemented a quantization scheme. This process optimizes the model for deployment on edge devices by reducing the precision of weights and activations, thereby lowering latency without the typical steep drop in accuracy seen in standard post-training quantization.
Datasets and Multi-class Detection
The model was trained using a two-stage approach. First, it was pre-trained on the COCO dataset to learn universal visual features like edges and textures. It was then fine-tuned on a Custom Cooker Dataset containing 1,409 defect images and over 31,000 non-defect images.
The dataset categorizes defects into five distinct classes: dirty, scratch, oil, pit, and wire-drawing. To handle the scarcity of defect samples, an iterative training method was used, where difficult-to-classify samples were relabeled and reintroduced to the training loop to sharpen the model's decision boundaries.
Key Results and Performance
CDDNet demonstrates a significant improvement over the standard SSD baseline. By utilizing shallow features and iterative training, the system achieved a dramatic reduction in miss rates:
- Miss Rate: Dropped from 25.73% (standard SSD) to 8.31% (CDDNet) at a confidence threshold of $\ge 0.50$.
- Precision: Maintained a false positive rate of less than 1% for high-confidence detections.
- Efficiency: Inference latency remains between 0.125s and 0.142s per image, making it suitable for high-speed assembly line integration.
Conclusion
CDDNet successfully bridges the gap between general-purpose object detection and specialized industrial inspection. By prioritizing shallow feature resolution and employing cross-domain transfer learning, the network overcomes the challenges of small-scale defect detection and limited data availability. The inclusion of a quantization-aware training procedure further ensures that the model is ready for real-world deployment on factory-floor hardware.
Summary updated