Struck跟蹤演算法(一)

來源:互聯網
上載者:User

標籤:

          Struck跟蹤演算法:Structed Output Tracking with Kernels   (ICCV /2011年)   

                            原理:  Adaptive tracking-by-detection methods

          最近做項目,需要借鑒一下這個演算法,於是就打算好好學習這個演算法。

          演算法:http://download.csdn.net/detail/sunboyiris/7681943

          首先介紹一下如何調通這個演算法,首先要引入兩個庫:Eigen庫和OpenCV庫

         Eigen庫配置:

         Eigen庫:http://eigen.tuxfamily.org/index.php?title=Main_Page#Download

         解壓後對VS操作如下:

        然後調用其庫函數就OK了。

        

        OpenCV庫配置:

        見前面文章

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////、

要看struct跟蹤演算法的效果,首先要看的是config.txt檔案

# quiet mode disables all visual output (for experiments).quietMode = 0# debug mode enables additional drawing and visualization.debugMode = 1# base path for video sequences.sequenceBasePath = sequences   //路徑# path for output results file.# comment this out to disable output.#resultsPath = log.txt# video sequence to run the tracker on.# comment this out to use webcam.#sequenceName = girlsequenceName = girl  //調用演算法提供的映像序列# frame size for use during tracking.# the input image will be scaled to this size.frameWidth = 320frameHeight = 240# seed for random number generator.seed = 0# tracker search radius in pixels.searchRadius = 30# SVM regularization parameter.svmC = 100.0   # SVM budget size (0 = no budget).svmBudgetSize = 100# image features to use.# format is: feature kernel [kernel-params]# where:#   feature = haar/raw/histogram#   kernel = gaussian/linear/intersection/chi2#   for kernel=gaussian, kernel-params is sigma# multiple features can be specified and will be combinedfeature = haar gaussian 0.2  //haar gaussian係數設定#feature = raw gaussian 0.1#feature = histogram intersection

在此就配置好了參數,看一下運行效果:


      


      

          

          

      

Struck跟蹤演算法(一)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.