簡易檢索 / 詳目顯示

研究生: 吳其軒
Wu, Chi-Hsuan
論文名稱: 設計與實作結合嵌入式裝置與手機應用程式之人臉辨識系統
Design and implement a face recognition system combining embedded device and mobile phone application
指導教授: 侯廷偉
Hou, Ting-Wei
學位類別: 碩士
Master
系所名稱: 工學院 - 工程科學系
Department of Engineering Science
論文出版年: 2022
畢業學年度: 110
語文別: 中文
論文頁數: 39
中文關鍵詞: 人臉辨識深度學習跨平台應用程式嵌入式系統藍牙低功耗
外文關鍵詞: Face Recognition, Deep Learning, Cross-Platform Applications, Embedded Systems, Bluetooth Low Energy
相關次數: 點閱:45下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 本論文設計並實作一套人臉辨識系統,結合嵌入式裝置、跨平台手機應用程式與深度學習模型,應用於協助提醒與分辨眼前的人。目前人臉辨識的應用多用於公司、商場等大型應用領域,尚未有應用於個人方面的產品,本論文所設計的系統將人臉辨識系統個人化,應用於和以往不同的場景。本系統主要功能包含自動從已記錄下的人中比對並告知使用者目前眼前最可能是記錄中哪一個人,以及記錄新人的照片,讓使用者之後再對其做註記。
    本論文使用嵌入式系統連接鏡頭做為影像輸入裝置,並開發跨平台的手機應用程式。在人臉辨識流程中,使用ML Kit進行人臉偵測,以及使用MobileNetV2以及MobileFaceNet兩個深度學習模型輸出人臉特徵,並比較了這兩個模型在手機上執行的表現,得出MobileFaceNet在手機上執行人臉辨識有較好的表現。在無線連線上採用了藍牙低功耗的方式,同時為了解決藍牙低功耗傳輸資料大小上的限制,也設計了相關的大型資料傳送演算法解決問題,並比較了傳輸不同大小與品質的圖片對整個系統的運作流程的影響。最後,本系統將系統的各流程串連,實做出自動記錄陌生人、使用者標記頁面,已知的人偵測與提醒等功能,同時也能達到手機獨立運作,與保留了嵌入式裝置獨立運作的擴充功能。在實際運作時,本系統可以達到94% 的人臉辨識正確率,以及1 FPS的辨識速度。

    This thesis designs and implements a face recognition system, which combines an embedded system, cross-platform mobile applications and deep learning models to help a user to check if the user knows or has met the people in front of the user. At present, there is no applications of face-recognition similar to the proposed approach to help individuals.
    The main functions of this system include automatically comparing the captured picture with the recorded people and notifying the user which person is most likely to be, automatically inserting the not-recorded persons encountered into the records, and user annotation.
    This thesis uses an embedded system to connect a camera as the image input device, and uses Flutter to develop a cross-platform mobile application. In the face recognition process, ML Kit is used for face detection, and MobileFaceNet is adopted after comparison with MobileNetV2. Wireless connection is BLE. To solve the limitation of the data size of BLE transmission, a related large-scale data transmission algorithm is also implemented to solve the problem. Finally, this face recognition system achieves 94% recognition accuracy and 1 FPS recognition speed.

    摘要 I Extended Abstract II 致謝 VIII 目錄 IX 圖目錄 XI 表目錄 XII 第一章 緒論 1 1.1 研究動機 1 1.2 研究目的 1 1.3 研究貢獻 2 第二章 相關研究文獻探討 4 2.1 人臉辨識基本流程 4 2.2 深度學習於人臉辨識之相關研究 5 2.3 適用於行動裝置上的模型 5 第三章 系統架構設計與實作 7 3.1 使用情境 7 3.2 系統架構與開發環境 8 3.3 藍牙連線分析與設計 10 3.2.1 傳統藍牙與藍牙低功耗 10 3.2.2 BLE 通訊架構設計 11 3.2.3 大型檔案傳輸演算法 11 3.4 人臉辨識方法 14 3.5 影像輸入裝置設計與實作 16 3.5.1 影像讀取程式設計 16 3.5.2 BLE Server程式 17 3.6 手機應用程式設計與實作 18 3.6.1 人臉辨識 18 3.6.2 BLE Client 程式 20 3.6.3 陌生人偵測與記錄 21 3.6.4 已知的人偵測與提醒 23 3.6.5 資料儲存格式設計 25 3.6.6 使用者對未標記檔做標記之功能 26 第四章 研究成果與討論 28 4.1 人臉辨識結果比較 28 4.2 藍牙BLE圖片傳輸測試結果 29 4.3 陌生人偵測與記錄測試 31 4.4 使用者標記以及歷史記錄頁面 32 4.5 已知的人偵測與提醒測試 33 4.6 測試結果與討論 34 第五章 結論與未來展望 36 5.1 結論 36 第六章 參考文獻 38

    [1] Alexey Egorov, “Algorithm for optimization of Viola–Jones object detection framework parameters” Journal of Physics Conference Series, vol. 945, no. 1, p. 012032, DOI:10.1088/1742-6596/945/1/012032, Jan. 2018.
    [2] R. Girshick, "Fast R-CNN", IEEE International Conference on Computer Vision, pp. 1440-1448, Apr. 2015.
    [3] Joseph Redmon, Santosh Divvala, Ross Girshick and Ali Farhadi, “You Only Look Once: Unified, Real-Time Object Detection”, IEEE Conference on Computer Vision and Pattern Recognition, pp. 779-788, Dec. 2016.
    [4] L. Lai, N. Suda and V. Chandra, “CMSIS-NN: Efficient Neural Network Kernels for Arm Cortex-M CPUs”, arXiv preprint arXiv:1801.06601, 2018.
    [5] Y. Taigman, M. Yang, M. Ranzato and L. Wolf, “DeepFace: Closing the Gap to Human-Level Performance in Face Verification” IEEE Conference on Computer Vision and Pattern Recognition, pp. 1701-1708, 2014.
    [6] Andrew G. Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto and Hartwig Adam, “MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications”, arXiv preprint arXiv:1704.04861, 2017.
    [7] M. Sandler, A. Howard, M. Zhu, A. Zhmoginov and L. C. Chen, “MobileNetV2: Inverted Residuals and Linear Bottlenecks”, IEEE Conference on Computer Vision and Pattern Recognition, pp. 4510-4520, 2018.
    [8] S. Chen, Y. Liu, X. Gao and Z. Han, “Mobilefacenets: Efficient cnns for accurate real-time face verification on mobile devices”, Chinese Conference on Biometric Recognition, pp. 428-438, 2018.
    [9] F. Schroff, D. Kalenichenko and J. Philbin, “FaceNet: A unified embedding for face recognition and clustering”, IEEE Conference on Computer Vision and Pattern Recognition, pp. 815-823, 2015.
    [10] J. Deng, J. Guo, N. Xue and S. Zafeiriou, “ArcFace: Additive Angular Margin Loss for Deep Face Recognition”, IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4685-4694, 2019.
    [11] Flutter Developer Tools, [Online]. Available: https://flutter.dev, last retrieve: 18 August 2022.
    [12] Google ML Lit, [Online]. Available: https://developers.google.com/ml-kit, last retrieve: 18 August 2022.
    [13] How is Flutter different for app development, [Online]. Available: https://www.youtube.com/watch?v=l-YO9CmaSUM, last retrieve: 18 August 2022.
    [14] Flutter text to speech package, [Online]. Available: https://pub.dev/packages/flutter_tts, last retrieve: 18 August 2022.
    [15] 胡宇謙, 設計與實作便於攜帶的即時人臉辨識系統, 碩士論文,成功大學工程科學系, 2022
    [16] 邱子懿, 使用可應用於行動裝置之臉部辨識神經網路進行年齡預測與分類之實作, 碩士論文,成功大學工程科學系, 2022.
    [17] Dong Yi, Zhen Lei, Shengcai Liao and Stan Z. Li, “Learning Face Representation from Scratch”, arXiv preprint arXiv:1411.7923, 2014.
    [18] NodeJS camera package, [Online]. Available: https://www.npmjs.com/package/v4l2camera, last retrieve: 18 August 2022.
    [19] NodeJS image processing library, [Online]. Available: https://www.npmjs.com/package/jimp, last retrieve: 18 August 2022.
    [20] NodeJS Bluetooth socket package, [Online]. Available: https://www.npmjs.com/package/bluetooth-hci-socket, last retrieve: 18 August 2022.
    [21] Raspberry Pi Zero W, [Online]. Available: https://www.raspberrypi.com/products/raspberry-pi-zero-w, last retrieve: 18 August 2022.

    下載圖示 校內:2024-09-26公開
    校外:2024-09-26公開
    QR CODE