How can I detect multiple objects and track the motion of the objects?
Show older comments
Hi all,
I would like to detect and track the motion of the objects as shown below,


My question is as follow
Is it possible to implement the method as shown below?

The purpose is to continuously calculate the motion of each white block (center of mass).
Any suggestions would be grateful.
1 Comment
darova
on 16 Jun 2020
Use bwregionprops to find centroid of each blob
Answers (1)
Pratheek Punchathody
on 19 Feb 2021
0 votes
Refer to the documentation on Motion-Based Multiple Object Tracking which shows how to perform automatic detection and motion-based tracking of moving objects in a video from a stationary camera.
"configurekalmanfilter" function provides a simple approach for configuring the vision.KalmanFilter object for tracking a physical object in a Cartesian coordinate system. The tracked object may move with either constant velocity or constant acceleration.
Categories
Find more on Computer Vision Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!