Point tracker - get koordinates

3 ビュー (過去 30 日間)
Paul Himsl
Paul Himsl 2019 年 7 月 9 日
コメント済み: Paul Himsl 2019 年 7 月 9 日
Dear ladies and gentleman!
Is there any possibility in this example (https://de.mathworks.com/help/vision/ref/pointtracker.initialize.html) to save the koordinates of the tracked points for the whole duration of the video in a vector?
Thank you for your help and your time!

採用された回答

KSSV
KSSV 2019 年 7 月 9 日
Some thing like this:
P = cell([],1) ; V = P ;
count = 0 ;
while ~isDone(videoFileReader)
frame = step(videoFileReader);
[points, validity] = step(tracker,frame);
out = insertMarker(frame,points(validity, :),'+');
step(videoPlayer,out);
count = count+1 ;
P{count} = points ;
V{count} = validity;
end
  1 件のコメント
Paul Himsl
Paul Himsl 2019 年 7 月 9 日
Yes, it works!
Thank you very much for your help.

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by