結合深度學習視覺偵測技術於結構光三維形貌量測系統之研發
Development of structured light 3D profile measurement system with deep learning vision detection technology
摘要
本論文成功建立出一套結合深度學習視覺偵測技術於結構光三維形貌量測系統,本研究以人臉為目標物,將結構光三維形貌量測系統整合結構光三維形貌量測技術,視覺偵測技術偵測物體的靜止狀態、量測過程中的移動情形及回傳最佳人臉進行分析,使結構光三維形貌量測系統更自動化且精準。在硬體系統方面,使用DLP投影機作為光源,投影黑白餘弦結構光,CMOS相機擷取條紋圖像,並設計系統主支架、承載板、投影機支架與CMOS相機支架。在系統校正方面,校正相機內外參數,使相機的切向變形與徑向變形還原成無變形之影像;校正DLP投影機,降低非線性光強度曲線所造成的非線性誤差。本研究透過Wider face公開人臉資料集與自行拍攝臉部照片作為資料集,訓練集共13360張影像,驗證集共1346張影像,透過遷移式訓練進行物件偵測模型訓練,最終物件偵測技術平均準確率(mAP@0.5:mean Average Precision)為0.81。結合深度學習視覺偵測技術於結構光三維形貌量測系統量測速度可到達每次量測1.94秒,同時使用物測偵測技術得以有效減少三維重建時的誤差,此研究可應用於生物檢測和居家防護的即時人臉三維表面量測。
In this study, a structured light 3D profile measurement system with deep learning vision detection technology is proposed to measure 3D profiles of the human face. By integrating the object detection technology with the deep learning, the automatic and precise 3D profile measurement can be performed for determining the states of the objects and acquiring the optimal face images. In the experimental system, the DLP projector is used to projecting black and white cosine structured light, while CMOS camera captures fringe images from human face. The system main bracket, carrier board, projector bracket and CMOS camera bracket are designed for integrating whole system. For the image calibration, the camera calibration restores the tangential and radial distortion, and the DLP projector calibration reduces the nonlinear error caused by the nonlinear light intensity. The deep learning is based on Wider Face and self-photographed face datasets in which the training dataset has 13360 images, and the validation dataset has 1346 images. The object detection model is trained by the transfer learning training, and the mean average accuracy rate (mAP@0.5) is 0.81. Combining deep learning vision detection technology and structured light 3D profile system, the measurement rate reaches 1.94s , simultaneously, the deviation in 3D reconstruction can be effectively reduced by the object detection technology. The study can be applied to real-time 3D surface measurement of human faces in biological detection and home security.