GithubHelp home page GithubHelp logo

Comments (6)

ManuConcepBrito avatar ManuConcepBrito commented on May 27, 2024 1

Thanks for the help! I finally figured out the issue. We were only passing detections to the tracker when a detection was in the frame so we skipped the empty frames and that's why it didn't kill the tracked objects.

from norfair.

joaqo avatar joaqo commented on May 27, 2024

Hi @Maiabrennerst!

Is it because of occlusion? Like they overlap and their id gets transferred between them?

Thats a hard problem to fix. Depending on the nature of your problem, it be improved by making object max inertia be lower, or by using embeddings to reid the vehicles.

from norfair.

nikky4D avatar nikky4D commented on May 27, 2024

How do we include embeddings in the tracker for reid? And can we get embeddings for any model or is there a specific model we should use for our tracking problem? Is there an example that uses embeddings?

from norfair.

ManuConcepBrito avatar ManuConcepBrito commented on May 27, 2024

Thanks for the quick reply! So what happens with more detail is:

  1. An object leaves the scene
  2. A couple of frames go by without any object
  3. A second object (different from the first one) enters the scene very close to where the first object left
  4. The tracker matches both objects as the same one.

I am thinking of maybe an embedding that takes into account the direction of the objects (as the first and second go in different directions), but I am quite clueless at the moment. Is there any documentation on recommended embeddings?

from norfair.

joaqo avatar joaqo commented on May 27, 2024

@ManuConcepBrito That is odd, if the object leaves the scene for some time the object_id should be removed from the pool, and a new object_id should be assigned for the object that enters the scene. You may have your hit_inertia_max be too high.

@nikky4D Just set past_detections_length to how many detections you want to keep through the life of the project, and then if you want embeddings just add embeddings to the .data property of the object, which you can later use in you distance function. This is not properly documented at the moment, and there are no examples, but we'll add some soon. Docs

from norfair.

joaqo avatar joaqo commented on May 27, 2024

Awesome!

from norfair.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.