Giter Site home page Giter Site logo

jvirico / kalman-tracker Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 2.0 10.89 MB

An algorithm for object tracking based on Kalman Filter is implemented using OpenCV C++ library. Two modes of operation are coded, a Constant Velocity Model, and an Acceleration Model.

License: MIT License

C++ 95.40% Makefile 4.60%
kalman-filter opencv-library acceleration-models velocity-model object-tracking cpp

kalman-tracker's Introduction

C++ implementation of Kalman Filter for Object Tracking

Two algorithms for object tracking based on Kalman Filter [1,2] are implemented using OpenCV C++ library [3]. First, a Constant Velocity Model [4], and second an Acceleration Model. The strengths and weaknesses of both models are discussed using toy and real video sequences. Each tracking experiment can be divided into 3 steps, (1) foreground mask is generated based on Background Subtraction, morphological opening is applied to filter noise from the background mask. (2) the main Blobs are extracted from the filtered mask using Connected Component Analysis (CCA). From the extracted blobs, the center of the biggest blob is used as input measurement to the Kalman filter. (3) with the main Blob as the input for Kalman Filter, Constant Velocity and Acceleration models for Kalman filter are implemented.

Toy series


drawing

drawing

drawing

Real series


drawing

drawing

drawing

drawing

Cite this work

J. Rico, M. Eyakep, (2020) Kalman Filter for object tracking
[Source code](https://github.com/jvirico/KalmanTracker)

Authors

J. Rico ([email protected])
M. Eyakem ([email protected])

References

[1] - J. Rico, M. Eyakem. (2020) Kalman Filter for object tracking.
[2] - Kalman, R.E.: A new approach to linear filtering and prediction problems (1960).
[3] - Kaehler, A., Bradski, G.: Learning OpenCV 3: computer vision in C++ with the OpenCV library. ” O’Reilly Media, Inc.” (2016).
[4] - Sch¨oller, C., Aravantinos, V., Lay, F., Knoll, A.: What the constant velocity model can teach us about pedestrian motion prediction. IEEE Robotics and Automation Letters 5(2), 1696–1703 (2020).

kalman-tracker's People

Contributors

jvirico avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.