Git Product home page Git Product logo

blobtracking's Introduction

A background subtraction based tracking algorithm using OpenCV. It depends on OpenCv (http://opencv.org/) and Boost libraries (http://www.boost.org/).

Usage

In order to the tracker, use the following command:

Windows

BlobTracker.exe -d config.cfg

Linux

./BlobTracker -d config.cfg

Config Params

config.cfg has all the configurations for running the tracker, here are the few things that you would have to change.

  * "Input_Video_Directory"   		---> where the video files are stored
  * "Input_Video_Name_List"   		---> name of the video files (comma separated)
  * "Input_Camera_ID_List"	  		---> camera id for internal usage( use sequential numbers)
  * "Start_Frame_Index"		  		---> starting frame for the video to be processed (0 to start from the beginning)
  * "Number_Of_Frames"		  		---> number of frames to be tracked (-1 for the entire video)

  * "OutPut_Video_Directory"  		---> where the output files will be stored (also the track outputs in text format)
  * "Log_File_Name"			  		---> name of the log file (log file will be generated in the output folder)
  * "Display_Intermediate_Result"   ---> whether to display intermediate output on the dialog box or not
  * "Save_Intermediate_Result"		---> whether to save the intermediate results on the output directory

  * "Down_Scale_Image"				---> whether to downscale the image by a factor or 2 or not (use it for speed)

  * "FG_Train_Frames"				---> number of frames used for training the background model

Output

Output videos will be created in the specified output folder ("OutPut_Video_Directory").

  * input_file_name.extension_BT.avi contains the learned background video
  * input_file_name.extension_FG.avi shows the foreground region

  * input_file_name.extension_record.txt stores the tracking results in the following format:[ frameNumber, xCentroid, yCentroid, width, height, objectId, timestamp(seconds) ]

Contact

[1] Santhoshkumar Sunderrajan( [email protected]) Website: http://vision.ece.ucsb.edu/~santhosh/

Bibtex

If you use the code in any of your research works, please cite the following papers:

@inproceedings{sunderrajan2013context,
  title={Context-Aware Graph Modeling for Object Search and Retrieval in a Wide Area Camera Network},
  author={Sunderrajan, Santhoshkumar and Xu, Jiejun and Manjunath, BS},
  booktitle={Proc. International Conference on Distributed Smart Cameras},
  year={2013}
}

@article{xu2013graph,
  title={Graph-Based Topic-Focused Retrieval in Distributed Camera Network},
  author={Xu, Jiejun and Jagadeesh, Vignesh and Ni, Zefeng and Sunderrajan, Santhoshkumar and Manjunath, BS},
  year={2013},
  publisher={IEEE}
}

@article{sunderrajanucsb,
  title={UCSB UCR VCG TRECVID 2012},
  author={Sunderrajan, Santhoshkumar and Hasan, Mahmudul and Pourian, Niloufar and Zhu, Yingying and Manjunath, BS and Chowdhury, Amit Roy}
}

blobtracking's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.