opencv运动目标跟踪预测_基于Opencv的运动目标的检测和跟踪.pdf
第 20卷 第 l2期 電子設(shè)計工程 2012年 6月
Vol_20 No.12 ElectronicDesignEngineering Jun.2012
基于Opencv的運動 目標(biāo)的檢測和跟蹤
白瑞.姜明新
(大連 民族學(xué)院信息與通信工程學(xué)院,遼寧 大連 116600)
摘要 :檢測運動物體需要無運動物體的背景 圖像 ,所以,首先應(yīng)用多幀像素平均值法提取 了運動視頻序列的背景 圖,
從背景圖像 中分離 目標(biāo)像素,獲取 目標(biāo) 的質(zhì)心坐標(biāo) ,并應(yīng)用質(zhì)心跟蹤法以灰色圖像序列為基礎(chǔ) ,對運動 的 目標(biāo)進(jìn)行實
時檢測和跟蹤。質(zhì)心跟蹤法的 目標(biāo)位置通過質(zhì)點的中心來確定,該算法計算簡單,計算量小,其穩(wěn)定性與精度主要取
決于序列 圖像的分割及其閥值的確定情況。文中給 出了用 Opencv實現(xiàn)算法的具體過程和關(guān)鍵代碼 ,并且設(shè)計 了跟蹤
運動車輛的控制界面 ,方便 了實時監(jiān)控 。實驗結(jié)果表明。該方法可以實現(xiàn)視頻序列中運動 目標(biāo) 的識別 ,具有實時性 、并
能給 出較好的識別效果。
關(guān)鍵詞 :平均值 法;質(zhì)心跟蹤 ;運動 目標(biāo) ;Opencv
中圖分類號:TP273 文獻(xiàn)標(biāo)識碼 :A 文章編號:1674—6236(2012)12-0126-03
DetectionandtrackingofmovementtargetbasedonOpencv
BAIRui,JIANGMing-xin
(SchoolofInformationEngineering,DalianNationalitiesUniversity,Dalian116600,China)
Abstract:Detectingofmovingobjectneedstationaryobjectasbackgroundimage,SOweshouldpickupthebackground
pictureofmovement’Svideosequencewithmuhi-framepixelofaveragealgorithm.Separatingtargetpixelsfrombackrgound
picture,wewillgetthetargetcoordinates,andapplycentroidtrackingalgorithm todetectandtrackthemovingtargetbased
onrgayimagesequence.Thetarget’Spositioncanbedeterminedbythecenterofparticle.Thisalgorithm usessmallamountof
calculationandeasytowork.Itsstabilityandprecisionmainlydependsonimagesegmentationandthevalueofthreshold.The
detailedprocessandthekeycodeofOpencvalgorithm hadgiveninthea~cle,alsothesystem designsacontrolinterface,SO
thatthemanagercanmonitorthemovementofvehiclesatanytime.Experimentalresultsshow thatusingthiswaycanachieve
identificationofhtemovingtargetwithreal-time.
Keywords:averagemethod;centroidrtacking;movingtarget;Opencv
在圖像序列中進(jìn)行 目標(biāo)的跟蹤一直是計算機(jī)視覺、圖像
2 控制界面
處理和模式識別領(lǐng)域
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結(jié)
以上是生活随笔為你收集整理的opencv运动目标跟踪预测_基于Opencv的运动目标的检测和跟踪.pdf的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python用变量输出abcd_pyth
- 下一篇: 人体轮廓_她用硅树脂打造反人体曲线的怪诞