フィルターのクリア

How do I speed down on video stream?

3 ビュー (過去 30 日間)
준영
준영 2022 年 8 月 22 日
コメント済み: 준영 2022 年 8 月 22 日
This is reference
I try to slow down video streaming but I don't know how.....
is it associate with videoreader parameter? please help me

採用された回答

Chunru
Chunru 2022 年 8 月 22 日
Add pause(0.1) in the code below:
obj = setupSystemObjects();
tracks = initializeTracks(); % Create an empty array of tracks.
nextId = 1; % ID of the next track
% Detect moving objects, and track them across video frames.
while hasFrame(obj.reader)
frame = readFrame(obj.reader);
[centroids, bboxes, mask] = detectObjects(frame);
predictNewLocationsOfTracks();
[assignments, unassignedTracks, unassignedDetections] = ...
detectionToTrackAssignment();
updateAssignedTracks();
updateUnassignedTracks();
deleteLostTracks();
createNewTracks();
displayTrackingResults();
% Slow down the video
pause(0.1) % adjust value here
end
  1 件のコメント
준영
준영 2022 年 8 月 22 日
Jenious!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTracking and Motion Estimation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by