This code is good for demonstration purposes as the white ball goes through an occlusion which will confuse the image processing tracking, at the same time the model is not perfect because the ball is made of paper and air friction effect cannot be neglected. We can see in this demo, that the Kalman Filter result is much better than the model or the image processing alone.
Bassam Jalgha (2021). Kalman Filter demo for Ball Tracking (https://www.mathworks.com/matlabcentral/fileexchange/42257-kalman-filter-demo-for-ball-tracking), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!