human detection in a room

2 vues (au cours des 30 derniers jours)
Mahmoud Al-Faris
Mahmoud Al-Faris le 10 Fév 2016
Commenté : Walter Roberson le 14 Fév 2016
Dear all,
I am trying to detect human inside a room and I 've tried HOG, Background subtraction, and Viola-Jones.
now, the problem is, I am trying to detect the human continuously as well as he still in the room even if he changes his pose or still constant without any move.
the above techniques depend on the specific status such upright for HOG, motion for background subtraction, and front or back view for Viola-Jones.
any suggestion please?
thanks a lot

Réponses (3)

Image Analyst
Image Analyst le 10 Fév 2016
Try taking a shot of an empty room, then subtracting the images. Differences will show up but whether the difference is a human or a dog or a clock or simply a change in illumination level requires further steps.
  4 commentaires
Walter Roberson
Walter Roberson le 12 Fév 2016
If you can train against an image of the room with no human, then you can detect changes relative to that background and it is not required that you have the detector "learn" to ignore new items that do not move for a time. You still have the problem of detecting whether the non-background item is a human or not. As I remarked to one poster who dismissed that problem, "So you are designing your system to fail at science fiction conventions."

Connectez-vous pour commenter.

Anand le 10 Fév 2016
Can you say more about what you've tried - what worked and what didn't work?
It looks like you need to try a combination of vision.PeopleDetector, vision.CascadeObjectDetector and vision.ForegroundDetector (background subtraction).
For example, if the person is not moving, they can still be detected with the vision.PeopleDetector, even if the vision.ForegroundDetector misses them.
  3 commentaires
Mahmoud Al-Faris
Mahmoud Al-Faris le 12 Fév 2016
Thanks Anand,
can I ask you about your previous answer, did you mean the combination of features for each method? for example vision.peopledetector and cascade.objectdetection.
many thanks

Connectez-vous pour commenter.

Walter Roberson
Walter Roberson le 11 Fév 2016
  5 commentaires
Walter Roberson
Walter Roberson le 14 Fév 2016
If you can have different lighting conditions then you will need to train on one picture of the room for each major difference in lighting conditions. For example if you were to train only with overhead lights on then if you were to present a picture of the same room in sunlight then the system could end up detecting the sunlight as a "new" object.
With the lighting accounted for, you can use background subtraction to detect objects that were not previously present. You cannot, however, detect if the objects are human or not. For example if someone brought in a bag of groceries, your system would be able to detect that but not whether the bag was a human or not. (Can you really tell from the center picture above that the camouflaged object is in fact a human and not a doll or a bit of paper and a pair of shoes?) As soon as you say "Well, the system should learn to ignore the bag of groceries because it doesn't move", then you are telling the system to learn to ignore a human who does not move.

Connectez-vous pour commenter.


En savoir plus sur Image Processing and Computer Vision dans Help Center et File Exchange


Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by