應用非線性高重疊區域演算法之 NMS 硬體加速器研究

On Hardware Accelerator Design of NMS Based on High IOU Region Algorithm Using Nonlinear Programming

檔案

日期

2026

類型

語言

中文

摘要

本論文旨在設計應用於 NMS 中高重疊區域篩選演算法之硬體加速器,以解決物件偵測系統中因為軟、硬體跨平台資料傳輸所產生的延遲問題,並克服 NMS 因不規律運算特性所導致的硬體化挑戰。傳統 IOU 涉及複雜除法運算,消耗大量硬體資源;而現有的 Simplified IOU 雖能降低資源消耗,卻犧牲了偵測準確度。為此,本論文提出兼具高準確度與低硬體資源消耗的高重疊區域篩選演算法。在設計上,本研究透過數學推導提出 NL-ORF 演算法,將傳統的 IOU 除法公式轉換為四條邊界不等式判斷。為了更進一步降低硬體實現的運算複雜度與資源消耗,另外提出其線性近似版本 ANL-ORF 。本研究將此電路嵌入至 NMS 硬體架構中,並結合軟體端 YOLOv4 神經網路推論與後端預測框視覺化,建構出完整的物件偵測系統。實驗結果顯示,基於 COCO 2017 資料集進行測試,本論文提出的硬體加速器與採用 CV2 內建 NMS 函數的軟體版本相比,加速效果達到約 140 倍。在偵測準確度的表現上,本設計與採用傳統IOU的NMS結果相比, mAP@0.5 僅下降0.8% ,並較採用簡化 IOU 的系統提升約 3.4% 。在硬體資源使用量方面,NL-ORF與 ANL-ORF 硬體架構分別僅需要 760 與 725 個 LUT ,相較於傳統 IOU 的 912 個 LUT 分別節省約 16% 與 20% 的使用量。上述數據顯示,本研究所提出的硬體加速器能夠在維持物件偵測準確度的前提下有效降低硬體資源消耗。
This thesis presents a hardware accelerator for the High IOU Region Filtering Algorithm in Non-Maximum Suppression (NMS) to address the latency issues caused by cross-platform data transmission between software and hardware in object detection systems, and to overcome the hardware implementation challenges stemming from the irregular computational characteristics of NMS. Traditional Intersection over Union (IOU) calculations involve complex division that drains hardware resources, whereas existing simplified methods compromise accuracy. To address this, we mathematically derive the NL-ORF algorithm, transforming the IOU formula into four boundary inequalities to simplify hardware implementation. A linear approximation, ANL-ORF, is also proposed for further resource reduction. This accelerator is then integrated with YOLOv4 to build a complete object detection system. Experimental results on the COCO 2017 dataset show that our design achieves a 140x speedup compared to OpenCV's software NMS. Regarding accuracy, it exhibits a marginal mAP@0.5 drop of only 0.8% versus traditional IOU, outperforming simplified IOU methods by 3.4%. Furthermore, the NL-ORF and ANL-ORF architectures each require only 760 and 725 LUTs, reducing resource consumption by 16% and 20%, respectively. Ultimately, this research successfully minimizes hardware costs while maintaining high detection accuracy.

所屬典藏

電控工程研究所
顯示完整詮釋資料 統計資料

引用此條目

王永叡 (2026). 應用非線性高重疊區域演算法之 NMS 硬體加速器研究. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/90157

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/90157