I want a mtalab code to detect a person from an image, peopleDetector is not working for me.

1 visualizzazione (ultimi 30 giorni)
I want to detect a person from an image and draw a bounding box around that person, i tried peopleDetector but unfortunately it is not detecting any person. Actually there is only one person person in my image but peopleDtector is unable to detect that. Please help me.

Risposte (1)

Dima Lisin
Dima Lisin il 26 Lug 2014
Can you post a link to this image?
Have you tried tweaking the parameters of the people detector? You can try using a different 'ClassificationModel', you can try reducing 'ClassificationThreshold', or you can try reducing 'WindowStride'.
Alternatively, you can tru using vision.CascadeObjectDetector to detect the face or the upper body of the person.

Categorie

Scopri di più su Computer Vision Toolbox 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