Inserting a line in a moving object

I would like to insert a skeleton line that follows the movement of the tracked object.
The object is tracked using background subtraction.
Is such algorithm possible? If so how would I do it? A drawn red line example is shown in the following image below.

回答 (1 件)

Image Analyst
Image Analyst 2021 年 9 月 6 日
編集済み: Image Analyst 2021 年 9 月 6 日

0 投票

Did you try calling plot() or rectangle()?
See attached demo.

1 件のコメント

Harvey Carunungan
Harvey Carunungan 2021 年 9 月 6 日
No I have not tried.
The demo shows the color tracking of the object but I was thinking whether you could insert line segments on the detected object and follow its movements?

サインインしてコメントする。

カテゴリ

製品

リリース

R2021a

質問済み:

2021 年 9 月 6 日

コメント済み:

2021 年 9 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by