Skip to content

Kalman filter implementation.#11

Merged
henryouly merged 1 commit intomainfrom
henryouly-kalmanfilter
Apr 13, 2022
Merged

Kalman filter implementation.#11
henryouly merged 1 commit intomainfrom
henryouly-kalmanfilter

Conversation

@henryouly
Copy link
Collaborator

@henryouly henryouly commented Apr 9, 2022

Added a kalman filter to stablize subtle movement.

Tested and worked great on webcam mode.

A great 7-min video to explain kalman filter and how it helps object-tracking: https://www.mathworks.com/videos/introduction-to-kalman-filters-for-object-tracking-79674.html

Caveat: The noise matrix q and r is simplified as scalar value. If we need better accuracy, it may worth to explore its vector form to incorporate time / velocity information in the noise matrix, or import existing implementation from Accord.NET framework.

@henryouly henryouly requested review from superkudo and wixette April 9, 2022 22:33
@henryouly henryouly self-assigned this Apr 9, 2022
Copy link
Contributor

@wixette wixette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@henryouly henryouly merged commit 695aca9 into main Apr 13, 2022
@henryouly henryouly deleted the henryouly-kalmanfilter branch April 13, 2022 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants