24小时热门版块排行榜    

查看: 571  |  回复: 1

cc91921

木虫 (正式写手)

[求助] 有没有目标跟踪的MATLAB事例呀?已有1人参与

准备干这个,但是没有经验,看看大神们有没有这方面的事例,能够提供给我看看的~~谢谢了,最好有跟踪的时频~~~

发自小木虫Android客户端
回复此楼
多写论文,多发论文~~~~
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

FMStation

至尊木虫 (知名作家)

【答案】应助回帖

感谢参与,应助指数 +1
https://www.mathworks.com/help/vision/examples/motion-based-multiple-object-tracking.html
Motion-Based Multiple Object Tracking
CODE:
function multiObjectTracking()
% Create System objects used for reading video, detecting moving objects,
% and displaying the results.
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 ~isDone(obj.reader)
    frame = readFrame();
    [centroids, bboxes, mask] = detectObjects(frame);
    predictNewLocationsOfTracks();
    [assignments, unassignedTracks, unassignedDetections] = ...
        detectionToTrackAssignment();

    updateAssignedTracks();
    updateUnassignedTracks();
    deleteLostTracks();
    createNewTracks();

    displayTrackingResults();
end

2楼2016-09-09 07:07:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 cc91921 的主题更新
信息提示
请填处理意见