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.

Antworten (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.

Kategorien

Mehr zu Image Processing and Computer Vision finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 21 Jul. 2014

Beantwortet:

am 26 Jul. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by