how to I use this syntax for People detection [___] = step(peopl​eDetector,​I,roi)

조회 수: 2 (최근 30일)
I have ROI (REGION OF INTERESTEd) and which comes from a function that detects movement in a video and I would like to pass it to the spet detection method, how to do it?

답변 (2개)

Image Analyst
Image Analyst 2017년 12월 2일
Pass it in the argument list to your "spet detection" function
output = MySpetDetectionFunction(ROI);
  댓글 수: 3
Image Analyst
Image Analyst 2017년 12월 2일
I don't know what "the spet detection" method is. Presumably you know and you've already written it or have an algorithm for it and just need to make it into a function, perhaps from a script that it's in now - I don't know. Since you say " the" it's like you already have it. If you don't already have it, then I don't either and can't write it for you.

댓글을 달려면 로그인하십시오.


Walter Roberson
Walter Roberson 2017년 12월 2일
Your line
[output] = peopleDetector(Tab_bboxes{54});
is equivalent to
[output] = step(peopleDetector, Tab_bboxes{54});
which is missing the ROI portion.
Your line
Tab_bboxes = multiObjectTracking();
creates a multitracker object from the Automated Driving System Toolbox, https://www.mathworks.com/help/driving/examples/multiple-object-tracking-tutorial.html, the output of which is an object, not a cell array. The tracker needs to be be used with updateTracks() to find tracks.
  댓글 수: 2
EL BETAR DAOUD AHMED
EL BETAR DAOUD AHMED 2017년 12월 4일
I already have the function multiple-object-tracking.
It returning BBoxes for all move detection. it is a function
that returns everything that moves. I need to pass the BBoxies
that he has detect as a moving object to function that just
recognizes people in motion.
I want to use the function detection person to know if what the
function multiple object detect find are people or not

댓글을 달려면 로그인하십시오.

카테고리

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