Node Moving Things Tracker Versions Save

javascript implementation of "tracker by detections" for realtime multiple object tracking (MOT)

v0.9.0

2 years ago

What's Changed

Full Changelog: https://github.com/opendatacam/node-moving-things-tracker/compare/v0.8.1...v0.9.0

v0.8.1

2 years ago

Changelog

Contributors

  • @akretz

v0.8.0

3 years ago

v0.8.0 is a @vsaw contribution

see https://github.com/opendatacam/node-moving-things-tracker/pull/19

Features: Reset idDisplay, configurable fast delete and custom distance function

1. Reset idDisplay

Resetting the tracker did not affect the item ID. Therefore multiple tests runs on the same file were difficult to evaluate as one had to offset the later runs to get the actual number of the items tracked.

This pull request fixes this. As it introduces a new reset function for ItemsTracked.

To prove it is working, jasmine tests with GitHub Actions are included. As GitHub does not run the checks in the opendatacam repository see the passing checks in my fork here: https://github.com/vsaw/node-moving-things-tracker/actions/runs/202256302

2. Configurable Fast Delete

This allows to configure if detections should be removed quickly in cases where they were detected and could not be matched afterwards.

Fast deletion can be enabled/disabled via:

Tracker.setParams({ fastDelete: false });

Again passing tests can be see here https://github.com/vsaw/node-moving-things-tracker/pull/2/checks

3. Custom Distance Function

In cases where one wants to try with a custom distance function it can now be passed to the Tracer as follows:

// See https://en.wikipedia.org/wiki/Taxicab_geometry
function l1metric(item1, item2) {
  // Get the x and y distance, in relation to the item size
  const xDist = Math.abs(item1.x - item2.x) / ((item1.w + item2.w) / 2);
  const yDist = Math.abs(item1.y - item2.y) / ((item1.h + item2.h) / 2);
  return xDist + yDist;
}

Tracker.setParams({ distanceFunc: l1metric });

v0.7.5

3 years ago

v0.7.4

4 years ago

v0.7.3

4 years ago

Bearing was incorrect in some cases

v0.7.2

4 years ago

v0.7.1

4 years ago

Fix: Do not round bbox coordinates in mode opendatacam-darknet

v0.7.0

4 years ago
  • Add MOT benchmark input file compatibility
  • Add opendatacam/darknet input file compatibility