Leveraging Multi-view Data for Improved Detection Performance: An Industrial Use Case

Faranak Shamsafar, Sunil Prasad Jaiswal, Benjamin Kelkel, Kireeti Bodduna, Klaus Illgner-FehnsWorkshops @ CVPR 2023 · DOI

Abstract

Automating Printed Circuit Board (PCB) inspection is a high-stakes challenge in electronics manufacturing due to component density and visual artifacts like reflections. Researchers from K|Lens GmbH have developed a multi-view object detection framework using a specialized "kaleidoscopic" lens to capture nine perspectives in a single shot. By combining this hardware with a novel inference fusion method, they achieved a 15% improvement in mean Average Precision (mAP) over traditional single-view systems, reaching 97.17% [email protected].

The Challenge of PCB Inspection

PCBs are incredibly dense, with components ranging from large integrated circuits to microscopic resistors just 0.5mm wide. Traditional manual inspection is slow and subjective, while standard computer vision often struggles with reflections, varying component colors, and the "small object" detection problem. Furthermore, training deep learning models requires massive amounts of labeled data, which is logistically difficult for thousands of tiny, identical parts. This research addresses both the detection accuracy gap and the data labeling bottleneck in industrial settings.

Methodology

The authors introduce a hardware-software co-design approach centered on kaleidoscopic imaging and multi-view data fusion.

Kaleidoscopic Imaging

The system utilizes the 3rd generation K|Lens, a specialized optical system mounted on a 61MP camera. This lens uses mirrors and refraction to project a 3x3 grid of different viewpoints onto a single sensor, capturing nine distinct perspectives of the PCB simultaneously in a "one-shot" multi-view process.

The K|Lens hardware setup (a) and the resulting nine-view kaleidoscopic image grid (b, c).

Semi-Automatic Labeling

To solve the labeling crisis, a "depth-based label generalization" technique was developed. By manually labeling a small subset of center-view images and using disparity maps to calculate the distance/shift between views, the system automatically warps and translates those labels to the other eight viewpoints. This allowed the researchers to expand 105 manually labeled images into 2,253 labeled samples automatically.

Multi-View Inference (MVI)

During detection, the model (YOLOv5n) processes all nine views independently. The results are then "warped" back to the center perspective and fused using Weighted Boxes Fusion (WBF). Finally, the coordinates are "intermixed" to ensure the final bounding boxes are perfectly aligned with the high-quality center-view geometry.

The Multi-View Inference (MVI) pipeline, showing the flow from rectification to final bounding box fusion.

Dataset and Results

The study introduced the K|Lens PCB dataset, consisting of 262 kaleidoscopic images (expanding to 2,358 individual views) across 11 component categories. The system showed the most dramatic improvements on difficult items like Crystal Oscillators (XTAL) and LEDs, which often have ambiguous shapes or reflective surfaces.

Comparing Multi-view Inference (MVI) against a Single-view (SV) baseline:

  • Overall Accuracy: MVI reached 97.17% [email protected], compared to 87.46% for the single-view baseline.
  • Component-Specific Gains: For XTALs, the [email protected]:0.95 skyrocketed from 27.82% (SV) to 86.01% (MVI).
  • Efficiency: By using the YOLOv5 "nano" version, the system remains fast enough for real-world production lines despite processing multiple views.

Conclusion

The use of disparity maps allows the system to treat the nine views as a mathematically linked 3D scene, enabling automated labeling and precise result fusion. By looking at a component from nine angles, the model overcomes specular reflections that might hide details in a single view. While the method relies on specific K|Lens hardware, it demonstrates a significant leap in accuracy for high-precision industrial inspection tasks.

Summary updated

BibTeX
@inproceedings{shamsafar2023leveraging,
  author = {Faranak Shamsafar and Sunil Prasad Jaiswal and Benjamin Kelkel and Kireeti Bodduna and Klaus Illgner-Fehns},
  title = {{Leveraging Multi-view Data for Improved Detection Performance: An Industrial Use Case}},
  booktitle = {Workshops @ CVPR},
  year = {2023},
  doi = {10.1109/cvprw59228.2023.00469},
}
Figure