I am not getting the accurate result, rectangle not creating on the image to detect upper body.

4 visualizzazioni (ultimi 30 giorni)
bodyDetector = vision.CascadeObjectDetector('UpperBody');
bodyDetector.MinSize = [60 60];
bodyDetector.MergeThreshold = 10;
I2 = imread('visionteam.jpg');
bboxBody = bodyDetector(I2);
IBody = insertObjectAnnotation(I2,'rectangle',bboxBody,'Upper Body');
figure
imshow(IBody)
title('Detected upper bodies');
i use this same code to detect upper body from image in MATLAB 2019, i am not getting error but i am also not getting rectangle on upperboday part.
please explain

Risposte (0)

Categorie

Scopri di più su Recognition, Object Detection, and Semantic Segmentation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by