py-motmetrics
py-motmetrics copied to clipboard
Total number of objects calculation
Hello,
This issue is related to the 'num_objects' value, calculated as the num_matches + num_switches. I have a few questions:
- Is
num_objectssupposed to be equal to the total number of ground truth objects within all the frames? - If so, why is the
num_objectmetric not calculated from the ground truth data, instead of being the sum of switches plus matches?
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?
@jvlmdr are you familiar with this?
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.
yes. see the readme here https://github.com/cheind/py-motmetrics#populating-the-accumulator