필터 지우기
필터 지우기

Select largest bounding box

조회 수: 2 (최근 30일)
Nataliya
Nataliya 2017년 5월 25일
편집: Nataliya 2017년 5월 25일
I used this code to detect people
peopleDetector = vision.PeopleDetector;
[bboxes,scores] = step(peopleDetector,I);
I = insertObjectAnnotation(I,'rectangle',bboxes,scores);
For some cases it gives multiple bounding boxes for one person.
I want to select largest bounding box having highest score. How can I do this. Please help.

채택된 답변

MathReallyWorks
MathReallyWorks 2017년 5월 25일
Hello nataliya,
Find the area of all the bounding box. Take out the bounding box having maximum area.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by