Context-Aware Object Search and Retrieval
HTML Matlab C C++ Python Java Other
Switch branches/tags
Nothing to show
Clone or download
Failed to load latest commit information.
libs added implementation Mar 21, 2015
scripts added implementation Mar 21, 2015
src added implementation Mar 21, 2015 Update Feb 16, 2018
_config.yml Set theme jekyll-theme-cayman May 16, 2018

A multi-camera object search and retrieval algorithm using matlab.

This is a matlab implementation of the papers "Context-Aware Hypergraph Modeling for Re-identification and Summarization" published in Transactions of Multimedia and "Context-Aware Graph Modeling for Object Search and Retrieval in a Wide Area Camera Network" published in ICDSC'13.


In order to run the algorithm, use the following command:

i) Run main.m: Generates the weight matrix and performs graph based query ranking.

iii) Run main_viper.m: Generates the weight matrix and performs association based ranking.

Data Processing

i) Run scripts/generateTracklets.m to create tracklets for university bikepath dataset (generateTracklets_viper.m for ViPeR Dataset).

ii) Run scripts/extractColorFeatures.m to extract color features for the generated tracklets ( extractColorFeatures_viper.m for ViPeR dataset).

iii) Run scripts/modelColorDriftPatterns.m to learn the color drift model based on the ground truth (modelColorDriftPattern_viper.m for ViPeR dataset).

iv) Run scripts/modelSpatialTemporalTopology1.m for learning spatial-temporal topology model for the university bike path dataset.


i) Download the sample dataset archive in a supported format from: and save it in the root folder

ii) Untar the data folder: tar -xzf data.tar.gz

iii) The folder structure would like this:

├── data
├── data.tar.gz
├── libs
├── scripts
└── src


[1] Santhoshkumar Sunderrajan(



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

  author={Sunderrajan, S. and Manjunath, B.S.}, 
  journal={Multimedia, IEEE Transactions on}, 
  title={Context-Aware Hypergraph Modeling for Re-identification and Summarization}, 
  keywords={Cameras;Clothing;Histograms;Image color analysis;Indexes;Topology;Training;Camera network;person re-identification;search;summarization}, 

  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={Distributed Smart Cameras (ICDSC), 2013 Seventh International Conference on},


I may have used some good codes from various sources, please feel free to notify me if you find a piece of code that I need to acknowledge.