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

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.

Réponses (1)

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.

Catégories

En savoir plus sur Image Processing and Computer Vision dans Centre d'aide et File Exchange

Question posée :

le 21 Juil 2014

Community Treasure Hunt

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

Start Hunting!

Translated by