GithubHelp home page GithubHelp logo

Comments (4)

Nuzhny007 avatar Nuzhny007 commented on July 17, 2024

Hi!
I use linear regression for Kalman initialization: https://github.com/Smorodov/Multitarget-tracker/blob/master/Tracker/Kalman.cpp#L463
You can disable it: set the MIN_INIT_VALS = 0

from multitarget-tracker.

thuyndieu avatar thuyndieu commented on July 17, 2024

Thank you, I am pretty new to Kalman filter. I got to know that linear regression for Kalman filter is to generate start values for the prediction including the point(x,y) and its velocity(dx,dy). Can you please explain what you have done in the function "get_lin_regress_params"?
One more question, I have tried the versions of updating points and rectangles. Just find the point updating gives me better results than rectangles. I guess it is due to the parameters of Kalman filter, but why? thank you so much.

from multitarget-tracker.

Nuzhny007 avatar Nuzhny007 commented on July 17, 2024

Hi!

  1. "get_lin_regress_params" it's a simple linear regression for two functions:
    x(t) = kx * t + bx and y(t) = ky * t + by
    Here t is frame index, x(t) - horizontal coordinate in pixels and y(y) - vertical coordinate in pixels.
    If I detect the object on 4 frames than I can use linear regression for obtaining the equations. kx and ky - constant horizontal and vertical velocities of the object (or projection on the OX and OY axes).

  2. It depends of the video. Now I want to make some changes in this code for this issue: #99
    Perhaps this will improve accuracy and clarify the operation of the filter with rectangles.

from multitarget-tracker.

thuyndieu avatar thuyndieu commented on July 17, 2024

Thank you much, I will try your change and observe the results.

from multitarget-tracker.

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.