邊緣智慧攝影機之自動部署與管理系統
Automated Deployment and Management System of Edge AI Cameras
摘要
Edge AI Camera 是一種邊緣設備,利用嵌入式的 GPU 設備執行輕量級的深度學習模型常用於智慧交通、精準運動等領域進行物件的偵測與追蹤。在交通應用中,Edge AI Cameras 可直接對路側影像進行偵測,並將車流資訊與交通事件計算結果回傳到伺服器。透過這種方式可避免大量的網路頻寬消耗與伺服器的資源閒置。然而邊緣設備上的硬體資源有限,因此在將深度學習模型部署到邊緣設備之前,通常必須針對不同設備型號的邊緣設備進行模型的優化。此外,在進行車流應用時,往往需要先進行一些道路相關環境參數的設置。在交通路網中大量佈署 Edge AI Camera 將會耗費大量人力與時間,並且需要在現場進行更新與調整,導致增加在設備管理上的難度。
本研究提出一個用於 Edge AI Cameras 遠端管理與部署的交通監控系統架構,可以快速進行模型優化與道路環境參數的配置與設定。除了基本的 Edge AI Edge 硬體安裝與出廠環境設定外,軟體方面皆可透過本系統遠端進行操作,其主要功能包含: 1) 自動化的模型優化與程式碼編譯 2) 遠端部署深度學習模型 3) 遠端設置車流應用參數 4) 圖形化使用者介面呈現車流分析資料。
本系統整合嵌入式 GPU 設備 NVIDIA Jetson TX2 與路側攝影機,作為 AI Camera 的雛形,實做路口車流轉向量分析與違規停車偵測兩種車流分析應用,並以系統遠端佈署至 AI Edge Camera 執行分析,最後於視覺化介面中顯示車流分析結果,驗證本研究提出的遠端佈署與管理系統可行性。
本研究提出一個用於 Edge AI Cameras 遠端管理與部署的交通監控系統架構,可以快速進行模型優化與道路環境參數的配置與設定。除了基本的 Edge AI Edge 硬體安裝與出廠環境設定外,軟體方面皆可透過本系統遠端進行操作,其主要功能包含: 1) 自動化的模型優化與程式碼編譯 2) 遠端部署深度學習模型 3) 遠端設置車流應用參數 4) 圖形化使用者介面呈現車流分析資料。
本系統整合嵌入式 GPU 設備 NVIDIA Jetson TX2 與路側攝影機,作為 AI Camera 的雛形,實做路口車流轉向量分析與違規停車偵測兩種車流分析應用,並以系統遠端佈署至 AI Edge Camera 執行分析,最後於視覺化介面中顯示車流分析結果,驗證本研究提出的遠端佈署與管理系統可行性。
AI cameras are edge devices that can execute lightweight deep learning models with embedded GPU devices. In traffic management applications, traffic flow and traffic incidents can be detected from roadside images by AI cameras, and only the detected high-level information needs to be sent back to the server to avoid network bandwidth consumption and spare server resources. However, due to limited hardware resources at edge devices, the models should be optimized for specific AI cameras before they are deployed. In addition, the environment-related parameters need to be configured properly after model deployment. These tasks call for an AI camera management system. In this research, we design a management and deployment traffic monitoring system which can accomplish model optimization and parameter configuration with ease. Except for the camera hardware installation, other main functions can be called remotely from the management system, including 1) Automatic modeling and code transfer generation; 2) Remote deep learning model deployment; 3) Remote application configuration; 4) Analysis result presentation with a graphical user interface. To validate our proposed system, the embedded GPU devices, NVIDIA Jetson TX2, are combined with roadside cameras, are used as the prototype of the AI cameras, and the deployment of traffic analysis models and the visualized analysis results are conducted by the proposed system. The experiments validate that the proposed management system achieves all the design goals.