GithubHelp home page GithubHelp logo

Comments (3)

facundo-lezama avatar facundo-lezama commented on June 25, 2024

Hi @blakeblackshear!

You can always access the complete list of tracked objects on tracker.tracked_objects and modify it as you need. That's not a common thing to do with Norfair, but you can do it.

To better understand your situation, what do you expect to happen after you remove the track from the tracked objects? Because you're saying that the object will still be visible, so I understand that you will be having future detections of that same object, right?

from norfair.

blakeblackshear avatar blakeblackshear commented on June 25, 2024

We have a setting to disable tracking on an object after a certain number of frames where the object has been stationary. Think of a parked car. Some would rather have the same car as separate tracked objects for the time that it entered the driveway and parked from the time where it left hours later.

And yes, the parked car can and does sometimes get picked up again.

This also helps in situations where a car is driving by and something in the background gets detected as a false positive and the tracker keeps tracking the false positive indefinitely. If you never expect objects to be stationary beyond a threshold, you can end the track by assuming it's a false positive.

from norfair.

facundo-lezama avatar facundo-lezama commented on June 25, 2024

I believe you will have to handle those scenarios in a post-processing stage since Norfair doesn't have the option to do that. You can try using the tracked_object.estimate_velocity property to try to understand if an object is stationary or not and then use that information to filter out those tracked objects as you wish.

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.