dstl / Stone-Soup

A software project to provide the target tracking community with a framework for the development and testing of tracking algorithms.
https://stonesoup.rtfd.io
MIT License
384 stars 126 forks source link

CLEAR MOT Associator #1017

Open kopytjuk opened 1 month ago

kopytjuk commented 1 month ago

Implements the Classification of Events, Activities, and Relationships (CLEAR) Multi-Object Tracking (MOT) association scheme. This assigns a single track trajectory to a single GT trajectory.

image

Image from [1]

In one of the next PRs I would like to implement MOTP and MOTA metrics.

[1] Bernardin, K., Stiefelhagen, R. Evaluating Multiple Object Tracking Performance: The CLEAR MOT Metrics. J Image Video Proc 2008, 246309 (2008). https://doi.org/10.1155/2008/246309

sdhiscocks commented 1 month ago

Hey @kopytjuk Thanks for the PR. I think this would be a great addition 👍

kopytjuk commented 1 month ago

Hey @kopytjuk Thanks for the PR. I think this would be a great addition 👍

Hey @sdhiscocks, thanks for the reply - the PR is ready for review!

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 93.52518% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 93.56%. Comparing base (ab6af2b) to head (da8d4ed). Report is 23 commits behind head on main.

Files Patch % Lines
stonesoup/dataassociator/clearmot.py 93.28% 6 Missing and 3 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1017 +/- ## ========================================== - Coverage 93.60% 93.56% -0.04% ========================================== Files 202 203 +1 Lines 12990 13124 +134 Branches 2651 2681 +30 ========================================== + Hits 12159 12280 +121 - Misses 588 596 +8 - Partials 243 248 +5 ``` | [Flag](https://app.codecov.io/gh/dstl/Stone-Soup/pull/1017/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | Coverage Δ | | |---|---|---| | [integration](https://app.codecov.io/gh/dstl/Stone-Soup/pull/1017/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | `65.57% <3.59%> (-0.70%)` | :arrow_down: | | [unittests](https://app.codecov.io/gh/dstl/Stone-Soup/pull/1017/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | `89.21% <92.80%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.