필터 지우기
필터 지우기

Timestamp of frame processing using peopleDetect

조회 수: 1 (최근 30일)
Ali Zeeshan
Ali Zeeshan 2016년 4월 3일
I am using peopleDetect function to detect human object from video. I got the score from the peopleDetect method but now i need the time at which each frame was processed by peopleDetect function because i need to plot time vs score for some purpose. following code return score for each frame:
frameLeft = readerLeft.step();
% Detect people.
[bboxes,scores] = step(peopleDetector, frameLeft);
if ~isempty(bboxes)
% Find the centroids of detected people.
centroids = [round(bboxes(:, 1) + bboxes(:, 3) / 2), ...
round(bboxes(:, 2) + bboxes(:, 4) / 2)];
dispFrame = insertObjectAnnotation(frameLeft, 'rectangle' ,bboxes,scores);
else
dispFrame = frameLeft;
end
% Display the frame.
step(player, dispFrame);
how can i edit it to get time at each step as well?

답변 (0개)

카테고리

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