This is the Single Camera Tracker(SCT)[1,2] for DukeMTMC dataset.
You can download the DukeMTMC dataset from here.
This program is modification of original SCT software that can only process one camera(camera no.2) among eight cameras in Duke campus within a specific range of time.
What this code can do is
- can process all cameras in DukeMTMC dataset for any given range of time.
- can produce tracking results comparable to the original report[1,2].
To process all cameras, you can run
DoAllDukeCams.m then they will be processed sequentially. Otherly, you can run multiple Matlab and run them seperately by writing your own scripts.
To reproduce the results, I have consulted with Ergys Ristani and Francesco Solera. They told me that they actually did the experiment with 30 fps setting instead of 60 fps which is basic framerate of DukeMTMC. That's why you can see the variable,
halfFrameRate in configuration file for each camera, that controls the framerate. Furthermore, they also recommend to filter out the false positive detections by using masks provided in DukeMTMC dataset. You can check that code in the file named
Util/Other/filterDetections.m between line number 84 and 110. Moreover, I left comments on the code,
% yoon, where I made the modification.
After I investigated the results with Trainval_Mini dataset, which is some portion of Trainval dataset, removing false positive detections using masks is crucial to reproduce the results but changing the framerate is not critical. You can check that fact using this code. Note that I only investigated it using Trainval_Mini, so it might be different if you check it with other partitions of dataset.
The first step of using this code is downloding the DukeMTMC dataset. You can download it from here. Then, locate the dataset directory you downloaded in
config.m. It is recommened to use Gurobi solver in order to get good results.
There are configuration files named
<camnum> is camera number. In there, you can set start and end time by manipulating
endingFrame respectively. Note that you have to insert time synced to master camera(camera no.5).
fpRemoval, which is in configuration files, is the threshold to remove false positive detections using masks. It will remove detections if (num of white pixels in the mask)/(area of detection b-box) < fpRemoval. It might be somewhat related to moving speed of detected object.
To process with 30 fps dataset, you need to set
halfFrameRate = 1 in configuration files. Besides, you have to make 30 fps detection data using the scrip
det60to30.m, which is located in
Util/yoon/. The script samples even numbered frames from original data and save the generated detection data with new files
 Performance Measures and a Data Set for Multi-Target, Multi-Camera Tracking. E. Ristani, F. Solera, R. S. Zou, R. Cucchiara and C. Tomasi. ECCV 2016 Workshop on Benchmarking Multi-Target Tracking.
 Tracking Multiple People Online and in Real Time. E. Ristani and C. Tomasi. ACCV 2014.