簡易檢索 / 詳目顯示

研究生: 陳宥銘
YOU-MING CHEN
論文名稱: 隱形眼鏡多角度取像系統與基於神經網路之光學瑕疵檢測
Multi-viewed Contact Lens Imaging System and Optical Defect Detection Based on Neural Network
指導教授: 林其禹
Chyi-Yeu Lin
口試委員: 徐繼聖
Gee-Sern Hsu
林柏廷
Po-Ting Lin
學位類別: 碩士
Master
系所名稱: 工程學院 - 機械工程系
Department of Mechanical Engineering
論文出版年: 2021
畢業學年度: 109
語文別: 中文
論文頁數: 90
中文關鍵詞: 自動化光學檢測瑕疵檢測取像系統深度學習電腦視覺隱形眼鏡
外文關鍵詞: Automated optical inspection, Defect detection, Imaging system, Deep learning, Computer vision, Contact lens
相關次數: 點閱:260下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 隱形眼鏡生產是一項大量生產工業,由於美觀及消費水平的提升和衛生習慣的進
    步,隱形眼鏡 在全球 的需求量逐年提升 ,其製造過程中難免會有瑕疵的產生,傳統的 隱
    形眼鏡 瑕疵檢測是以人工目視篩選 或單 一 相機 鏡頭 組 合之 自動化光學檢測 。 這些方法
    的缺點是 速度慢及 穩定性差 和 無較佳 的檢測精度 。
    本研究設計一套隱形眼鏡檢測系統,
    使 用工業相機、倍鏡、鏡頭搭配出兩套
    FOV(Field of View)共四個組合 (FOV-1一組及 FOV-2三組 )及 特殊 光源模式 增加檢測時
    的精度及 較難檢測之 透明瑕疵的檢出。 隱形眼鏡主要的瑕疵中包含破 損 、刮痕、附加物、
    毛邊、氣泡、 P點 (未完全穿透之氣泡 )等。本論文發展出特殊 的 瑕疵 取像 架構 可讓本套
    檢測系統更容易檢出附加物、氣泡 瑕疵 以及 刮痕和 P點 透明 瑕疵。
    本論文
    使用 的 四組 相機鏡頭組合 皆搭配 自動變焦模組 ,解決隱形眼鏡高低落差之對
    焦問題 。 擷取隱形眼鏡影像後,利用 YOLO神經網路架構對影像進行神經網路訓練 ,再
    進行瑕疵檢測取得結果 。本文亦將 說明此四組 相機鏡頭組合 分工 取像 的 結果 優勢 以 驗
    證本系統之 有效性 及實用性。


    Contact lens production is a mass production industry. Due to the improvement of aesthetics, buying power, and the increased hygiene standard, the global demand for contact lenses is increasing year by year. It is inevitable that defects will occur on contact lenses during the manufacturing process. Traditional defect detections comprise automatic optical inspection with a single camera lens and labor-intense manual visual inspection. Disadvantages of manual inspection are slow and poor consistence, while for AOI with single camera the limited accuracy
    This research proposes a set of contact lens detection system, comprises industrial cameras, magnifiers, and lenses to match two sets of FOV (Field of View), a total of four combinations (FOV-1 group and FOV-2 three groups) and special light source modes. This unique system can increase the detection accuracy and the detection capabilities on transparent defects. The main defects of contact lenses include cracks, scratches, appendages, burrs, bubbles, P-points (bubbles that are not completely penetrated), etc. This thesis develops a special defect imaging framework, which makes it easier for this inspection system to detect additions, bubbles, scratches, and P-point transparent defects.
    The four camera-lens combinations used in this thesis are all equipped with an automatic zoom module to solve the focus problem due to contact-lens height difference. After capturing the contact lens image, the YOLO neural network is used to perform defect detections. This thesis will demonstrate the effectiveness and practicability of the system by showing the advantages of the proposed system on a number of experiments.

    中文摘要i 英文摘要iv 誌謝v 目錄vi 圖目錄ix 表目錄xi 第一章 緒論1 1-1前言1 1-2研究動機與目的2 1-3本文架構3 第二章 研究基礎理論4 2-1隱形眼鏡結構與名稱4 2-2電腦視覺6 2-2-1工業相機7 A.工業相機傳感器差異7 B.工業相機取像原理7 C.相機基本參數9 2-2-2工業鏡頭11 工業鏡頭種類12 A.工業鏡頭接口12 B.工業鏡頭的基本參數13 2-2-3照明光源15 A.可見光15 B.常用光源顏色16 C.光源的種類17 D.互補色 18 E.常見的光源照射方式19 F.光源基本參數23 2-2-4影像擷取卡25 2-3自動變焦26 2-3-1可調焦液態鏡頭之原理26 2-3-2可調焦液態鏡頭之應用27 A.長工作距離之應用27 B.短工作距離之應用28 C.緊湊與大視野之應用29 D.遠心設計30 2-3-3可調焦液態鏡頭驅動器31 2-4神經網路架構-YOLOv5 33 2-4-1 Input34 A.Mosaic數據增強34 B.自適應邊框計算34 C.自適應圖片縮放35 2-4-2 Backbone 36 A.Focus結構36 B.CSPNet (Cross Stage Partial Network) 37 C.LeakyReLU 38 D.SPP層(Spatial Pyramid Pooling) 38 2-4-3 Neck 和 YOLO HEAD 39 A.PANet 39 B.Head network 40 2-4-4損失函數(Loss Function) 41 A.IoU Loss 41 B.GIoU Loss 42 第三章 研究方法設計44 3-1隱形眼鏡瑕疵取像系統及檢測整體流程45 3-2相機與鏡頭和光學配件46 3-2-1相機選用46 3-2-2鏡頭和光學配件選用49 A.FOV_1之鏡頭49 B.FOV_2之鏡頭50 C.放大倍鏡和延伸環51 3-3固定裝置支架結構設計53 3-4光源環境設定55 3-5隱形眼鏡鏡片內部外部焦距轉換57 3-6瑕疵辨識演算法58 第四章 實驗結果與分析60 4-1四台相機組合的取像優勢60 4-1-1光源設定對於特殊瑕疵取像結果之影響64 A.毛邊瑕疵取像65 B.刮痕及P點瑕疵取像66 4-2神經網路應用瑕疵檢測結果70 第五章 結論與未來展望75 5-1結論75 5-2未來展望76 參考文獻77

    [1]王滿堂, "隱形眼鏡學上、下冊," 2005. 藝軒圖書出版社.
    [2]康茂龍, "機器視覺檢測系統攝影機的應用," p. 第三十卷第三期.
    [3]Euresys, "線掃描採集原理."
    [4]BlogMech, "Area scan vs Line scan."
    [5]新亞洲儀器股份有限公司, "機器視覺『鏡頭』Q&A,"
    [6]康茂龍, "視覺檢測系統光源之應用," p. 第二十九卷第四期.
    [7]新亞洲儀器股份有限公司, "機器視覺『相機』Q&A,"
    [8]Itread.com, "機器視覺,光源筆記," pp.
    [9]ADLINK, "影像擷取卡 PCIe-U300 系列."
    [10]OPTOTUNE, "可調焦液態鏡頭."
    [11]A. Bochkovskiy, C.-Y. Wang, and H.-Y. M. Liao, "Yolov4: Optimal speed and accuracy of object detection," arXiv preprint arXiv:2004.10934, 2020.
    [12]ultralytic, "yolov5,"
    [13]江大白, "Yolov3&Yolov4&Yolov5模型權重及網絡結構圖."
    [14]R. Xu, H. Lin, K. Lu, L. Cao, and Y. Liu, "A Forest Fire Detection System Based on Ensemble Learning," Forests, vol. 12, no. 2, p. 217, 2021.
    [15]K. He, X. Zhang, S. Ren, and J. Sun, "Spatial pyramid pooling in deep convolutional networks for visual recognition," IEEE transactions on pattern analysis and machine intelligence, vol. 37, no. 9, pp. 1904-1916, 2015.
    [16]S. Liu, L. Qi, H. Qin, J. Shi, and J. Jia, "Path aggregation network for instance segmentation," in Proceedings of the IEEE conference on computer vision and pattern recognition, 2018, pp. 8759-8768.
    [17]H. Jung et al., "Detection of masses in mammograms using a one-stage object detector based on a deep convolutional neural network," PloS one, vol. 13, no. 9, p. e0203355, 2018.
    [18]D. Zhou et al., "Iou loss for 2d/3d object detection," in 2019 International Conference on 3D Vision (3DV), 2019: IEEE, pp. 85-94.
    [19]H. Rezatofighi, N. Tsoi, J. Gwak, A. Sadeghian, I. Reid, and S. Savarese, "Generalized intersection over union: A metric and a loss for bounding box regression," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2019, pp. 658-666.
    [20]偲倢科技, "工業相機規格解釋-視野(FOV)."
    [21]E. Optics®, "鏡頭墊圈,墊片和焦距擴展器,像距及物距(分別為I和O)與鏡頭焦距 (f)之 間關係的圖解."

    無法下載圖示 全文公開日期 2026/08/17 (校內網路)
    全文公開日期 2026/08/17 (校外網路)
    全文公開日期 2026/08/17 (國家圖書館:臺灣博碩士論文系統)
    QR CODE