py-motmetrics icon indicating copy to clipboard operation
py-motmetrics copied to clipboard

different result on Matlab version and Python version

Open konglongteng opened this issue 6 years ago • 4 comments

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

konglongteng avatar Oct 25 '19 09:10 konglongteng

Please run on latest develop branch and report more details.

cheind avatar Jan 17 '20 17:01 cheind

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.

ucohen avatar Feb 12 '20 09:02 ucohen

@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 avatar Aug 29 '20 05:08 cheind

link to #115

cheind avatar Aug 29 '20 05:08 cheind