Git Product home page Git Product logo

kalman-filter-image's Introduction

Kalman filter for image

Basic kalman filter for image object tracking, noise remove.

  • 2D optimization code (replace matrix inverse --> matrix multiplication)
  • pre&post process interface and example
  • Only depends on "numpy"

keypoints stablizing & tracking


๐Ÿค˜ **rock 'n' roll** ๐Ÿค˜

Requirements

  • python 3
  • numpy
  • pandas
  • opencv-contrib-python

Usage

First, install libs

pip install opencv-contrib-python
pip install numpy
pip install pandas

Just run!

python main.py

Description


17 human pose keypoints (coco style)

matrix

x = [x_postition, x_velocity, y_position, y_velocity]
    self.dt = dt                            # time interval
    self.A = np.array([                     # system matrix
        [1, dt, 0,  0],
        [0,  1, 0,  0],
        [0,  0, 1, dt],
        [0,  0, 0,  1],
    ], dtype=np.float)
    self.H = np.array([                     # system matrix
        [1, 0, 0, 0],
        [0, 0, 1, 0]
    ])
    self.Q = 0.9*np.eye(4, dtype=np.float)  # system error matrix
    self.R = np.array([                     # measurement error matrix
        [100, 0],
        [0, 100]
    ], dtype=np.float)

kalman-filter-image's People

Contributors

tkwoo avatar

Stargazers

 avatar randi avatar Siobhan avatar Shahar Weksler avatar Jose Sabater avatar  avatar  avatar  avatar  avatar Bharath Kumar avatar  avatar Siddharth Shankar avatar  avatar Dalaska avatar  avatar Daniel avatar Jeon Hyeong Lee avatar Miracle avatar  avatar Gabriel Gilbreath avatar sehawn avatar MillerChen avatar Hyeonchul Jung avatar Dinara Aliyeva avatar Yu Ao avatar conansherry avatar Jongha Park avatar  avatar Alexander Xavier O'Rourke Goby avatar Geunwoo Nam avatar Subhasis Chakraborty avatar Sung Yun Byeon avatar bhyim516 avatar Cheng-Bin Jin avatar Linus avatar Sungdong Kim avatar  avatar Kyle avatar Junhwan Jang avatar

Watchers

James Cloos avatar  avatar Subhasis Chakraborty avatar

kalman-filter-image's Issues

config.input

Hello there, I have a question. In main.py, line number 26, what is config.input??

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.