How can I detect multiple objects and track the motion of the objects?

2 ビュー (過去 30 日間)
Hao Yu Wang
Hao Yu Wang 2020 年 6 月 16 日
回答済み: Pratheek Punchathody 2021 年 2 月 19 日
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 件のコメント
darova 2020 年 6 月 16 日
Use bwregionprops to find centroid of each blob


回答 (1 件)

Pratheek Punchathody
Pratheek Punchathody 2021 年 2 月 19 日
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by