cheind / py-motmetrics

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

Total number of objects calculation #164

Open amm272 opened 2 years ago

amm272 commented 2 years ago

Hello,

This issue is related to the 'num_objects' value, calculated as the num_matches + num_switches. I have a few questions:

I have an issue where the total num_objects counted is larger than the sum of all the ground truth objects. For example, I count 24 objects, but the total number reported is 30. Usually each frame has 6 objects, so the result is off by exactly one frame. What cold be the source of this error?

cheind commented 2 years ago

@jvlmdr are you familiar with this?

amm272 commented 2 years ago

Thank you for raising this with @jvlmdr . Is there a way I could print the output of the accumulator per frame? Having the number of matches and switches at each stage could be helpful with debugging.

cheind commented 2 years ago

yes. see the readme here https://github.com/cheind/py-motmetrics#populating-the-accumulator