필터 지우기
필터 지우기

How to change properties of pointer tracker without re-initializing tracking?

조회 수: 3 (최근 30일)
hana
hana 2015년 6월 30일
댓글: hana 2015년 7월 3일
I am working on pointer tracker, I know I can set the properties of tracker initilay by using :
tracker = vision.PointTracker('NumPyramidLevels',3,'MaxBidirectionalError', 2, 'MaxIterations',30,'BlockSize',[5 5]);
initialize(tracker, points.Location, objectFrame);
and then by using step method the tracking is working fine.
my question how to make these properties dynamic during the tracker is working, I used same method inside the while statment as following:
while ~isDone(videoFileReader)
frame = step(videoFileReader);
[points, validity,scores] = step(tracker, frame);
tracker = vision.PointTracker('NumPyramidLevels',3,'MaxBidirectionalError', 2, 'MaxIterations',30,'BlockSize',[5 5]);
initialize(tracker, points, objectFrame);
end
but the problem here that the tracker is initialized again! but I need to continue on the prevouis fram state without initialize the tracking again.

답변 (1개)

Dima Lisin
Dima Lisin 2015년 6월 30일
Hi Hana,
The properties of vision.PointTracker are non-tunable, which means you cannot change them after you call the step method for the first time. Can you please tell me why you would want to change them dynamically?

카테고리

Help CenterFile Exchange에서 Tracking and Motion Estimation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by