Select largest bounding box
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nataliya
am 25 Mai 2017
Bearbeitet: Nataliya
am 25 Mai 2017
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.
0 Kommentare
Akzeptierte Antwort
MathReallyWorks
am 25 Mai 2017
Hello nataliya,
Find the area of all the bounding box. Take out the bounding box having maximum area.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!