台灣是從製造業起家的國家;在各類技術如此進步的21世紀中無論工廠流水線如何演化,其產品良率一直都是必須解決的重點問題。將不良品檢測出來並銷毀需要一定的人力及成本,如果將不良品送至廠商或是送至消費者手上無疑會造成更大的損失,最嚴重更可能導致人員傷亡。傳統製造業中,會雇用大量的人力來確保產品的品質,但由於員工精力無法時刻皆保持穩定因此可能導致不良的產品流出,這無疑造成重大的損失。現今的高科技產業主要使用AOI(Automated Optical Inspection)來針對產品進行瑕疵檢測,而所謂的AOI是透過光學儀器以高速度且高精確度的模式,利用人工智慧機械視覺技術來達成檢測目標。不過除了AOI以外,本研究亦嘗試使用YOLO技術做為產品檢測的方法。技術基礎上,YOLO是透過卷積神經網路來進行學習的,將大量的圖像資料經過卷積以後由全連接層進行輸出來辨別產品的缺陷。技術比較上,AOI依賴於使用人為設定好的參數去進行辨識,而YOLO則是利用學習獲得的模型進行辨識。如此可推斷AOI比較適合短期的生產項目,而YOLO則可以利用於長期生產的產品。因為雖然YOLO需要大量的資料來進行訓練獲得模型,不過訓練好的YOLO模型便可以透過不斷的學習來提升分辨率,這就是只能依賴人工調整參數的AOI技術望塵莫及之處了。總結來說現今的製造業動輒生產數量龐大的訂單,在使用深度學習的YOLO時會更容易展現出其長處,而AOI則比較適合用於檢測數量較少的訂單,並需要人工調整參數,短期內AOI的分辨率會比較高。而本研究之目的就是利用YOLO技術的特點來針對醫療產品硬體部分進行主要的瑕疵檢測。;The manufacturing industry is the economic foundation of Taiwan. The development of every technology is so impressive in the 21st century as we should see. Even though the performance of product lines is getting improved, the yield rate of products is still the main issue. The mission of defect detection among products would cost significant labor sources and work time. The products with defects would cause the manufacturers or consumers further losses. Those products would probably result in injuries or even deaths in some situations. In traditional manufacturing, employers would like to employ a large amount of labor intervention to ensure the quality of products. However, because employees′ energy is not always stable, it may cause the outflow of defective products, resulting in significant losses. High-tech industries currently use AOI (Automated Optical Inspection) to detect defects in products. AOI is achieved by high-speed and high-precision optical instruments, along with artificial intelligence of machine vision technology. In this research, we used the YOLO technique to develop a product detection method. The YOLO framework uses convolutional neural networks to learn how to identify defective products. The convolutional kernels deal with input images, and then the fully connected layer outputs the predicted out classified results. The AOI technique technically relies on the pre-set parameters for identification, whereas YOLO uses a well-trained model obtained by learning from data. The YOLO technique needs a large number of data to train its model, and then the well-trained model can continuously improve the ability of identification through sustained learnings. That is the reason that participants believe the YOLO technique outperforms the AOI. In conclusion, it is easier for YOLO to show its strengths in massive production lines, while AOI is suitable for smaller production lines. The purpose of this research thesis is to develop a defect detection method by utilizing the YOLO technique. Hopefully, we can extend the developed model to applications on medical products.