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일

3 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Dates and Time에 대해 자세히 알아보기

질문:

2019년 7월 9일

댓글:

2019년 7월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by