人工智慧應用於海關豬肉製品X光儀檢查緝之研究
顯示簡易詮釋資料 統計資料| 欄位 | 內容 | 語言 |
|---|---|---|
dc.catalog.0080 |
250219 | |
dc.catalog.00818 |
a | |
dc.catalog.00818 |
d | |
dc.catalog.00818 |
| | |
dc.catalog.00818 |
| | |
dc.catalog.0087 |
2023 | |
dc.catalog.020 |
平裝 | |
dc.catalog.041 |
chi | |
dc.catalog.041 |
eng | |
dc.catalog.300c |
30 | |
dc.contributor.advisor |
陳仁浩 | |
dc.contributor.advisor |
Chen, Ren-Haw | |
dc.contributor.author |
劉俊達 | |
dc.contributor.author |
Liu, Chun-Ta | |
dc.contributor.campus |
光復 | |
dc.contributor.college |
工學院 | |
dc.contributor.committee |
鄭泗東 | |
dc.contributor.committee |
尹慶中 | |
dc.contributor.committee |
Cheng, Stone | |
dc.contributor.committee |
Yin, Qing-Zhong | |
dc.contributor.department |
工學院專班-精密與自動化工程學程 | |
dc.contributor.dpcode |
SDPAP | |
dc.contributor.idpcode |
5607 | |
dc.contributor.studentid |
510607013 | |
dc.date.NCLavailable |
不公開 | |
dc.date.USTavailable |
2028/08/30 | |
dc.date.issued |
2023 | |
dc.date.issuedROC |
112 | |
dc.date.paperavailable |
立即公開 | |
dc.date.schoolyear |
112 | |
dc.description.abstract |
海關為兼顧邊境安全及通關便捷,運用X光儀器檢驗(儀檢)旅客行李已行之多年,為邊境攔檢走私之利器。且為防範含非洲豬瘟之豬肉製品入侵臺灣,自非洲豬瘟高風險疫區抵臺之旅客手提及託運行李需全數經X光儀器檢查。如何在查緝人力有限且需兼顧貿易便捷與安全、不影響通關效率之前提下,善用科技強化查緝效能,已成海關之重要課題。 本研究目的為探討如何將人工智慧科技應用在海關豬肉製品X光儀檢查緝,經由科學的方法,逐步建構去獲得效能及效率兼具之影像偵測組合演算法組合。 本研究依據過往海關儀檢X光機查獲豬肉製品案例影像,進行特徵分類以建立特定樣本數據資料庫,並參考特定樣本之種類,進行X光機目標影像之擷取及分析,並實際測試最佳化之類神經學習方法。為使AI輔助儀檢判讀影像軟體具有可靠之辨識判讀率與低誤警率,本研究優先運用監督式類神經學習網路技術及豬肉製品樣本幾何擴充技術,完成色階轉換、色階分離、影像還原等影像處理技術;其次搭配各類影像特徵及物件偵測技術,藉由大量豬肉製品X光影像樣本持續學習及發展,並結合各類豬肉製品X光影像特徵(如形狀、紋理和色階)分析技術,完成以旅客行李中之豬肉製品(如肉包、肉丸、香腸、火腿腸、臘肉、小香腸及粽子等)為偵測警示目標的AI輔助儀檢豬肉製品影像判讀軟體。 本研究結果顯示,含有豬肉製品之影像正確辨識出的比率不論是電腦模擬或是到機場進行實地測試的效果都較為優秀,有接近95%的準確度,也就是說經過機器學習的影像,絕大部分都可成功辨識的出來。另外未含豬肉製品之影像正確辨識的部分,在模擬測試及實地測試則有大約12%的準確度差異,實地測試的準確度較差,透過大量收集真實旅客正常態樣行李之X光影像並導入讓AI軟體學習,應可有效改善於實地測試時判讀軟體的誤判率。 | |
dc.description.abstract |
In order to balance border security and trade facilitation, the Customs has used X-ray equipment to inspect passengers’ luggage for many years. X-ray inspection is a useful tool for border control. In addition, in order to prevent pork products containing African swine fever from invading Taiwan, passengers arriving in Taiwan from areas with high risk of African swine fever must go through X-ray inspection in their hand and checked luggage. How to make good use of technology to enhance the efficiency of inspections has become an important issue for the customs under the premise of limited manpower for inspections and the need to take into account the convenience of trade and safety without affecting the efficiency of customs clearance. The purpose of this study is to explore how to apply artificial intelligence technology to the X-ray inspection of pork products at customs. This study is based on the images of pork products seized by the X-ray machine of the customs instrument inspection in the past, and classifies the characteristics to establish a specific sample data database. With reference to the type of specific sample, the target image of the X-ray machine is extracted and analyzed. In order to make the AI-assisted instrument inspection software have a reliable recognition and interpretation rate and a low false alarm rate, this study prioritizes the use of supervised neural learning network technology and pork product sample geometric expansion technology to complete color scale conversion, color scale separation, Image restoration and other image processing technologies; secondly, with various image features and object detection technologies, continuous learning and development with a large number of X-ray image samples of pork products, combined with various X-ray image features of pork products (such as shape, texture and color) analysis technology, completed the AI-assisted instrument inspection pork product software that uses pork products in passenger luggage (such as meat buns, meatballs, sausages, ham sausages, bacon, small sausages, and rice dumplings, etc.) as detection and warning targets. The results of this study show that the rate of correct identification of images containing pork products is excellent, whether it is computer simulation or field testing at the airport, with an accuracy close to 95%. That is to say, images that have undergone machine learning are recognized. Most of them can be identified successfully. In addition, there is an accuracy difference of about 12% between the simulated test and the field test for the correct identification of images that do not contain pork products. Making AI software learn should effectively improve the misjudgment rate of software during field tests. | |
dc.description.abstractopendate |
2023/08/17 | |
dc.description.degree |
碩士 | |
dc.description.tableofcontents |
目錄 目錄 vi 表目錄 xi 第一章 緒論 1 1.1 研究背景 1 1.1.1 入境旅客逐年增長 1 1.1.2 人工判讀仰賴經驗累積 2 1.1.3 海關肩負邊境查緝職責 3 1.2 研究動機與目的 4 1.2.1 非洲豬瘟[1] 4 1.2.2 非洲豬瘟之影響 5 1.2.3 防範非洲豬瘟之因應政策 5 1.3 文獻回顧 7 1.3.1 人工智慧-車牌辨識 7 1.3.2 人工智慧-人臉辨識[2] 10 1.3.3 人工智慧-醫學斷層掃描(CT scan)肺癌檢測[3] 12 1.3.4 人工智慧-醫學X光片肺癌檢測[4] 13 1.3.5 人工智慧-Chat GPT[5] 14 第二章 研究方法 17 2.1 機器學習 17 2.1.1 監督式學習 17 2.1.2 非監督式學習 18 2.1.3 半監督式學習 18 2.1.4 強化學習 19 2.1.5 深度學習 19 2.2 影像物件偵測演算法 20 2.2.1 特徵擷取[6][7][8] 20 2.2.2 YOLO(You Only Look Once)與YOLOv4[9] 30 2.3 海關X光儀檢設備 36 2.4 海關X光儀檢設備工作原理 38 2.5 旅客行李常見之違規攜帶物品案例及其X光影像 40 2.5.1 菸酒、藥品及其他應稅貨物 40 2.5.2 動植物檢疫物 42 2.5.3 毒品及槍械 45 第三章 AI輔助儀檢豬肉製品X光影像辨識規劃 46 3.1 AI輔助儀檢豬肉製品影像判讀軟體之開發構想 46 3.2 AI輔助儀檢豬肉製品影像判讀軟體之開發步驟 47 3.3 AI輔助儀檢豬肉製品影像判讀軟體之運作架構 49 第四章 AI輔助儀檢豬肉製品影像判讀軟體開發過程與成果 51 4.1 AI輔助儀檢豬肉製品影像判讀軟體開發過程 51 4.1.1 建立樣本數據資料庫 51 4.1.2 找尋契合X光儀檢豬肉製品影像辨識之AI演算法 52 4.1.3 製作儀檢豬肉製品影像樣本 56 4.1.4 影像樣本人工標記 58 4.1.5 儀檢豬肉製品影像之GLCM紋理分析 60 4.1.6 儀檢豬肉製品影像之色階分析 62 4.1.7 儀檢豬肉製品影像之輪廓分析 64 4.1.8 AI影像訓練與測試之程序 66 4.1.9 降低AI儀檢豬肉製品影像判讀軟體誤判率之措施 67 4.1.10 儀檢豬肉製品影像之AI軟體判讀流程 68 4.1.11 AI輔助儀檢豬肉製品影像判讀軟體之UI介面 69 4.1.12 AI輔助儀檢豬肉製品影像判讀軟體與Smith Detection雙射源X光機介接 70 4.2 AI輔助儀檢豬肉製品影像判讀軟體成果 72 4.2.1 AI輔助儀檢豬肉製品影像判讀軟體模擬測試成果 72 4.2.2 AI輔助儀檢豬肉製品影像判讀軟體實地測試成果 73 第五章 結論與未來努力方向 75 5.1 結論 75 5.2 未來努力方向 76 參考文獻 77 圖目錄 圖 1 1 2016至2019年入境旅客人數 2 圖 1 2行政院農委會動植物防疫檢疫局-旅客違規攜帶肉類產品入境最高將處以新臺幣100萬元罰鍰之文宣 [1] 6 圖 1 3車牌辨識軟體實例 9 圖 1 4人臉辨識之應用示意圖[2] 11 圖 1 5分析CT scan預測患者是否患有肺癌[3] 13 圖 1 6Chat GPT之使用範例 16 圖 2 1鄰域角度和間距的統計示意[6] 21 圖 2 2倒傳遞類神經網路架構[7] 23 圖 2 3雙階段偵測演算法示意圖[8] 24 圖 2 4 R-CNN架構圖[8] 25 圖 2 5 Fast R-CNN架構圖[8] 26 圖 2 6 Faster R-CNN架構圖[8] 27 圖 2 7單階段偵測演算法示意圖[8] 28 圖 2 8 SSD架構圖[8] 29 圖 2 9 YOLO偵測系統圖[9] 30 圖 2 10 YOLO流程圖[9] 30 圖 2 11 YOLO網路架構圖[9] 31 圖 2 12不同物件偵測器的對比結果圖[9] 32 圖 2 13不同物件偵測器的速度和準確性對比結果[9] 35 圖 2 14單射源X光機(單面向-彩色/黑白畫面各一) 37 圖 2 15雙射源X光機(雙面向彩色畫面) 37 圖 2 16香菸X光圖像 40 圖 2 17葡萄酒X光圖像 41 圖 2 18藥錠X光圖像 41 圖 2 19精品皮件X光圖像 42 圖 2 20多肉植物 X光圖像 43 圖 2 21火腿腸 X光圖像-1 43 圖 2 22火腿腸 X光圖像-2 44 圖 2 23香腸X光圖像 44 圖 2 24第二級毒品大麻花X光圖像 45 圖 2 25槍械X光圖像 45 圖 3 1 AI輔助儀檢豬肉製品影像判讀軟體示意圖 47 圖 3 2有機物影像強化與豬肉製品偵測流程 48 圖 3 3輔助判讀軟體人機使用介面設計示意圖 49 圖 3 4 AI輔助儀檢豬肉製品影像判讀軟體運作架構示意圖 50 圖 4 1色階分析分割特定顏色物體 53 圖 4 2影像還原 53 圖 4 3幾何分析步驟 55 圖 4 4物件分層實例 56 圖 4 5製作之含肉品之旅客行李實體影像及X光影像1 57 圖 4 6製作之含肉品之旅客行李實體影像及X光影像2 57 圖 4 7旅客行李常見豬肉製品之X光影像 58 圖 4 8影像樣本人工標記 58 圖 4 9影像分割(左)和影像掃描(右) 60 圖 4 10 AI影像訓練與測試之程序 66 圖 4 11儀檢豬肉製品影像之AI軟體判讀流程 68 圖 4 12 AI輔助儀檢豬肉製品影像判讀軟體人機使用介面 69 圖 4 13設定X光機圖檔傳輸系統 70 圖 4 14 AI辨識軟體與X光機實際介接情形 71 圖 4 15AI輔助儀檢豬肉製品影像判讀軟體實地測試情形 73 表目錄 表 1 GLCM統計方式[6] 20 表 2 X光檢查儀之物質色彩對照 39 表 3 AI訓練階段的肉品訓練樣本人工標記位置 59 表 4儀檢豬肉製品影像之GLCM紋理量化分析表 60 表 5儀檢豬肉製品影像之色階分析表(範例) 62 表 6豬肉製品儀檢影像之顏色(H)、飽和度(S)、明度(V)之平均值 63 表 7入境旅客攜帶豬肉製品之X光影像形狀及輪廓統計表 64 表 8常見旅客行李X光影像白名單範例 68 表 9 AI輔助儀檢豬肉製品影像判讀模擬測試成果 72 表 10輔助儀檢豬肉製品影像判讀實地測試成果 74 | |
dc.identifier.citation |
參考文獻 [1]行政院農委會動植物防疫檢疫局(2018年12月19日)。”防堵非洲豬瘟新裁罰基準上路,旅客違規攜帶肉品入境最高裁罰100萬元”新聞稿 [2]維基百科, 臉部辨識系統(2019年4月25日)。 檢自https://zh.wikipedia.org/zh-tw/臉部辨識系統.(檢索日期2023年7月18日) [3]廖家葆(2019年5月21日),"Google AI肺癌檢測 效率勝放射醫師、準確率達94%"。蘋果新聞第2版 [4]林惠琴(2021年12月24日),"胸腔X光結合AI 揪出早期肺癌"。自由時報第5版 [5]維基百科, ChatGPT(2022年11月30日)。 檢自https://zh.wikipedia.org/zh-tw/ChatGPT. (檢索日期2023年7月19日) [6] R A Asmara, R Romario, K S Batubulan, E Rohadi, I Siradjuddin, F Ronilaya, R Ariyanto, C Rahmad, F Rahutomo. Classification of pork and beef meat images using extraction of color and texture feature by Grey Level Co-Occurrence Matrix method. In: IOP Conference Series: Materials Science and Engineering. IOP Publishing, 2018. p. 012072. [7]Kusworo Adi1, Catur Edi Widodo, Aris Puji Widodo, Rahmat Gernowo, Adi Pamungkas, Rizky Ayomi Syifa. Detection Lung Cancer Using Gray Level Co-Occurrence Matrix (GLCM) and Back Propagation Neural Network Classification. Journal of Engineering Science & Technology Review, 2018, 11.2. [8] Kavya R., Joshi Manisha Shivram. Texture based bone-radiograph image analysis for the assessment of osteoporosis. Int J Eng Res Technol, 2015, 4.2. [9] Alexey Bochkovskiy, Chien-Yao Wang, Hong-Yuan Mark Liao. Yolov4: Optimal speed and accuracy of object detection. arXiv preprint arXiv:2004.10934, 2020. | |
dc.identifier.uri |
https://hdl.handle.net/20.500.14371/296 | |
dc.language.iso |
中文 | |
dc.relation.page |
79 | |
dc.subject.keyword |
人工智慧 | |
dc.subject.keyword |
豬肉製品 | |
dc.subject.keyword |
X光儀檢 | |
dc.subject.keyword |
監督式類神經學習網路 | |
dc.subject.keyword |
灰階共生矩陣 | |
dc.subject.keyword |
Artificial Intelligence | |
dc.subject.keyword |
Customs X-ray Inspection | |
dc.subject.keyword |
Pork Products | |
dc.subject.keyword |
Supervised Learning Network | |
dc.subject.keyword |
Gray-level Co-occurrence Matrix | |
dc.title |
人工智慧應用於海關豬肉製品X光儀檢查緝之研究 | zh-TW |
dc.title |
Artificial Intelligence Applied to Customs X-ray Inspection of Pork Products | |
dc.type |
Thesis | zh-TW |
檔案
全文未公開。
所屬典藏: 工學院專班-精密與自動化工程學程