GithubHelp home page GithubHelp logo

clear-mot's Introduction

CLEAR-MOT

A standard metric for evaluating the multiple target tracking algorithm is the CLEAR MOT. This metric is described in the paper [1] .

Clear MOT matlab script

Papers using our code

[1] D. Karatzas, F. Shafait, S. Uchida, M. Iwamura, L. Gomez i Bigorda, S. Robles Mestre, J. Mas, D. Fernandez Mota, J. Almazan Almazan; L.-P. de las Heras, "ICDAR 2013 Robust Reading Competition," Document Analysis and Recognition (ICDAR), 2013 12th International Conference on , vol., no., pp.1484,1493, 25-28 Aug. 2013 doi: 10.1109/ICDAR.2013.221

[2] A. Milan, K. Schindler, S. Roth, "Challenges of Ground Truth Evaluation of Multi-target Tracking," Computer Vision and Pattern Recognition Workshops (CVPRW), 2013 IEEE Conference on , vol., no., pp.735,742, 23-28 June 2013 doi: 10.1109/CVPRW.2013.111

Details

We provide the code that implements the metric CLER-MOT has described by the authors in [1]. The function is implemented in MATLAB and has been tested on real data generated by a multiple-target tracker.

The tarball contains these MATLAB/Octave files:

  1. generateData.m create the basic structures for the algorithm. Ground-truth objects are specificated by bounding box as [tl.x tl.y width height] in the "gt" cell structure. The "result" structure contains the tracking hypothesis as taken from the ground truth files.
  2. evaluateMOT.m is the function that perform the evaluation.
  3. demo.m is the main file that you can launch to test the CLEAR-MOT script.
  4. GreedyAssociation.m is the file that performs the association give the distance matrix. You can replace with other solver like Hungarian algorithm. These files are an example: if you want to use the script to evaluate you multiple target tracking, you have to recreate the structures groundtruth.mat and result.mat with your own data.

Demo Example

To run our code and have a brief results just copy-paste this code:

%this gives the results and the groundtruth
generateData
%threshold used to associate a tracker to a ground-truth
VOCscore = 0.5;
%display the result at the end
dispON  = true;
% run evaluation and save the result in a structure 'ClearMOT'
ClearMOT = evaluateMOT(gt,result,VOCscore,dispON);

Citation

Please cite our papers with the following bibtex if you use our dataset:

@article{ masi:multimedia12,
author = {Bagdanov, Andrew D. and Del Bimbo, Alberto and Dini, 
Fabrizio and Lisanti,  Giuseppe and Masi, Iacopo},
title = {Posterity Logging of Imagery for Video Surveillance},
booktitle = {IEEE Multimedia},
year = {2012}, }

and

@article{lisanti2016continuous,
  title={Continuous localization and mapping of a pan--tilt--zoom camera for wide area tracking},
  author={Lisanti, Giuseppe and Masi, Iacopo and Pernici, Federico and Del Bimbo, Alberto},
  journal={Machine Vision and Applications},
  volume={27},
  number={7},
  pages={1071--1085},
  year={2016},
  publisher={Springer}
}

References

[1] Keni Bernardin and Rainer Stiefelhagen. “Evaluating multiple objec tracking performance: the CLEAR MOT metrics” J. Image Video Process. 2008, Article 1 (January 2008), 10 pages.” DOI=10.1155/2008/246309 http://dx.doi.org/10.1155/2008/246309

License

CLEAR-MOT Matlab script is Copyright (c) 2013 of Iacopo Masi and Giuesppe Lisanti <iacopo.masi,giuseppe.lisanti>@unifi.it. Media Integration and Communication Center (MICC), University of Florence.

clear-mot's People

Contributors

glisanti avatar iacopomasi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

clear-mot's Issues

Bug in "mydistance" function

The readme says the groundTruth boxes are in the form [tl.x tl.y br.x br.y] , however, the my distance function extract Width and Height directly from the elements instead of computing the actual width and height.

==== Error lines =====
woT = target.bbox(3)
hoT = target.bbox(4)
===== Possible Fix ======
woT = target.bbox(3)-target.bbox(1);
hoT = target.bbox(4)-target.bbox(2);

Best,
MYH

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.