摘 "要: 設計了一種基于PandaBoard的運動物體檢測系統。該系統的主要組成模塊及其功能簡要描述如下:利用USB攝像頭進行視頻幀的采集,基于嵌入式的PandaBoard開發板運行運動物體檢測的視頻幀處理算法,采用USB無線鼠鍵進行檢測系統的啟動或關閉,最終通過HDMI顯示器進行檢測結果的顯示。其中,嵌入式PandaBoard開發板上運行的幀間差分運動物體檢測算法基于上位機Simulink進行設計,設計完成后直接下載到PandaBoard開發板上運行。該系統可以脫離上位機及Simulink開發環境獨立運行,具有設備簡單、成本低、算法可拓展性強等特點,具有良好的應用前景。
關鍵詞: 運動物體檢測; PandaBoard; Simulink; 視頻幀采集
中圖分類號: TN98?34 " " " " " " " " " " 文獻標識碼: A " " " " " " " " " " " " " "文章編號: 1004?373X(2015)02?0104?04
Design of a moving object detection system based on PandaBoard
SUN Wen?jian1, XIAO Bo?tao1, LUO Chun?bo2, SONG Hua?jun1, REN Peng1
1. College of Information and Control Engineering, China University of Petroleum (East China), Qingdao 266580, China;
2. School of Engineering and Computing, University of The West of Scotland, Paisley PA12BE, UK)
Abstract: Development of a moving object detection system based on PandaBoard is described in this paper. The main modules along with their functions are presented as follows: (a) one USB camera is used for capturing video frames, (b) the embedded PandaBoard is exploited as the core on which the video frame processing algorithm for detecting moving object is implemented, (c) a wireless USB control board integrating both mouse and keyboard is used for switching on/off the detection system, and (d) a HDMI monitor is employed to demonstrate the detection results. Specifically, the frame difference moving object detection algorithm running on the embedded PandaBoard is designed by means of PC Simulink. The designed algorithm is downloaded to the PandaBoard for execution. The moving object detection system can operate independently of PC and Simulink development environment. It has many merits, i.e. simple construction, low cost and strong scalability to more complex algorithms. It thus has a potential for vaster applications.
Keywords: moving object detection; PandaBoard; Simulink; video frame acquisition
0 "引 "言
目前基于視頻的運動物體檢測系統可粗略劃分為兩類[1?3]——視頻采集裝置內嵌處理器的檢測系統和視頻采集終端搭配上位機構建的檢測系統。在前一類檢測系統中,處理器(例如DSP芯片)嵌入在視頻采集設備上,采集到的視頻幀直接在采集設備上進行處理,處理的結果發送到監控設備上顯示。嵌入式的檢測系統通常采用高級語言(比如C語言)進行程序的設計與開發,程序的調試較為復雜,工程開發周期較長。在后一類檢測系統中,視頻采集設備將采集到的視頻幀傳送至上位機,由上位機對視頻幀進行處理。在上位機上可以采用Matlab或者Simulink[4?6]進行程序的設計與開發,但是將視頻幀從視頻采集設備傳送到上位機的過程中會產生延時,影響運動物體檢測系統的實時性。……