EUVIMEDEUVIMED entdecken
Open Access · CC BY-NC 4.0

A Real-Time PCB Defect Detection Framework on Raspberry Pi Based on YOLOv5n

Fan Huang, Wanrong Hui, Shuchang Wan, Xincan Wang, Haoxu Zhao, Lili Zhang

Journal of Computing and Electronic Information Management · 27.04.2026 · 21 (1) · 80-83

DOI: 10.54097/389rw478 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Journal of Computing and Electronic Information Management, online erschienen am 27.04.2026. Verfasst von Fan Huang und 5 weiteren Autor:innen. Die Arbeit nennt 5 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY-NC 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

PCB defect detection requires both high accuracy and real-time performance, while small defect sizes and complex backgrounds pose significant challenges for deployment on edge devices. This paper proposes a real-time PCB defect detection method based on the YOLOv5n model and constructs an edge-side detection system on Raspberry Pi 5. To enhance small defect detection capability, dataset integration, image slicing, and data augmentation strategies are employed. The trained model is deployed using the NCNN framework for lightweight inference. Experimental results demonstrate that the proposed method achieves 97.0% mAP50 on the test set and maintains a stable real-time detection speed of approximately 9 FPS on Raspberry Pi 5, showing strong performance on small-scale and sparse defects. The proposed approach provides a feasible solution for low-cost PCB defect detection on edge devices.

Zitieren

APA

Huang, F., Hui, W., Wan, S., Wang, X., Zhao, H., & Zhang, L. (2026). A Real-Time PCB Defect Detection Framework on Raspberry Pi Based on YOLOv5n. Journal of Computing and Electronic Information Management, 21(1), 80-83. https://doi.org/10.54097/389rw478

Vancouver

Huang F, Hui W, Wan S, Wang X, Zhao H, Zhang L. A Real-Time PCB Defect Detection Framework on Raspberry Pi Based on YOLOv5n. Journal of Computing and Electronic Information Management. 2026;21(1):80-83. doi:10.54097/389rw478

BibTeX
@article{Huang2026,
  author = {Huang, Fan and Hui, Wanrong and Wan, Shuchang and Wang, Xincan and Zhao, Haoxu and Zhang, Lili},
  title = {A Real-Time PCB Defect Detection Framework on Raspberry Pi Based on YOLOv5n},
  journal = {Journal of Computing and Electronic Information Management},
  year = {2026},
  volume = {21},
  number = {1},
  pages = {80--83},
  doi = {10.54097/389rw478}
}
Kostenlos starten →