應用YOLOV5於表面瑕疵檢測

Applying YOLOV5 in Surface Defect Detection

劉軒瑋、洪鈺欣、林師弘
H. W. Liu, Y. H. Hung and S. H. Lin

國立雲林科技大學 工業工程與管理系

摘要

近年來物件偵測模型已被廣泛應用於工業領域中,相關企業使用AOI針對螺絲影像進行瑕疵檢測,但因拍攝影像中含有不完整或多個螺絲影像,導致AOI檢測誤判及無法分類瑕疵種類的問題,為了解決上述問題,本研究提出深度學習框架偵測螺絲瑕疵,首先進行影像前處理,並提取出完整的螺絲影像,最終建立YOLOv5模型進行螺絲帽頭瑕疵檢測。

關鍵字:深度學習、自動化工業檢測、瑕疵檢測、YOLOv5。

ABSTRACT

Object detection models have been widely used in the industrial field, and related companies use AOIs for screw image defect detection. However, the captured image contains incomplete or multiple screw images, which results in AOI detection false kill, and the type of defects cannot be classified. This study proposes a deep learning framework for detecting screw defects by first performing image preprocessing and extracting complete screw images and, finally, building the YOLOv5 model for screw head defect detection.

KEYWORDS: Deep Learning; Automated Industrial Inspection; Defect Detection; YOLOv5.