cheind / py-motmetrics

:bar_chart: Benchmark multiple object trackers (MOT) in Python
MIT License
1.37k stars 258 forks source link

different result on Matlab version and Python version #55

Open konglongteng opened 4 years ago

konglongteng commented 4 years ago

I run the same result on Matlab and python, but the results are different. Why? Thanks for reply~

cheind commented 4 years ago

Please run on latest develop branch and report more details.

ucohen commented 4 years ago

got the same issue, it seems like there is an offset to count for matlab's outputs. see: https://github.com/cheind/py-motmetrics/blob/333495ea95b33ab0218885a2e95cbcfd86a4399e/motmetrics/io.py#L87

it would be best to get an options flag for it.

cheind commented 4 years ago

@ucohen this is to account for the pixel numbering offset. AFAIK Matlab considers the first pixel to be at (1,1) instead of (0,0)

cheind commented 4 years ago

link to #115