question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update node-movings-things-tracker version in ODC once "Different box representation in tracker" is fixed

See original GitHub issue

Hello everyone,

OpenDataCam uses the x, y properties of detection boxes to refer to the center point, while the computations used in node-moving-things-tracker use the top left corner as reference point instead. This results in a wrong IoU being calculated. This issue becomes apparent when you set the iouLimit to some high value and then the tracker fails a lot more often than when you compute the correct IoU. The solution would be to either convert between both representations when passing data between ODC and the tracker or to use the same representation everywhere. In the latter case, the following lines would need to be modified to use the center point as reference:

https://github.com/opendatacam/node-moving-things-tracker/blob/474f50a4b9c9fdaba5e2bc89085498c0b6848445/utils.js#L10-L13 https://github.com/opendatacam/node-moving-things-tracker/blob/474f50a4b9c9fdaba5e2bc89085498c0b6848445/utils.js#L38-L41 https://github.com/opendatacam/node-moving-things-tracker/blob/474f50a4b9c9fdaba5e2bc89085498c0b6848445/main.js#L139-L140

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
vsawcommented, Jun 24, 2021

I’ve created a new issue in https://github.com/opendatacam/node-moving-things-tracker/issues/24 to track the implementation.

This issue will be renamed to remind us to update the node-moving-things depedancy in Opendatacam.

0reactions
tdurandcommented, Jun 25, 2021

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stray Chapter 6 Slums Guide – How to Fix the Tracker and ...
Find out how to fix the Tracker and get on the right path to finding Doc in Chapter 6 of the cat adventure...
Read more >
How to fix the tracker in Stray - GGRecon
Once inside Doc's secret room, climb on the shelf to the left of the room and knock down a cardboard box to reveal...
Read more >
Stray: How to Fix the Broken Tracker in Chapter 6 - Game Rant
After finding the secret lab, Stray players will be given a tool to help them find Doc, though will need to repair the...
Read more >
[1.x] Updates `octane:install` command when Swoole ...
Update node-movings-things-tracker version in ODC once "Different box representation in tracker" is fixed, 6, 2021-06-24, 2022-09-21.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found