How to detect people from top view
3 views (last 30 days)
Show older comments
Hello,
I would like to detect people from a top view like in the image. I am relatively new to image processing and don't know the best approach on how to takle this. (The image is just one from a bigger dataset I have and I can't shoot a clean plate for these)
I would need to detect people in a scenario like this.
Thanks in advance!
0 Comments
Answers (1)
Image Analyst
on 19 Oct 2020
I'd try snapping a photo with no people in there first, and then subtract your people photo from it. Then threshold it.
backgroundImage = imread('background.png');
peopleImage = imread('people.png');
diffImage = imabsdiff(backgroundImage, peopleImage);
4 Comments
Image Analyst
on 19 Oct 2020
So how is your algorithm supposed to know that a dark round spot in the image is the top view of a person and not a stain on the floor? If you have no reference image, and the blob is not moving, I don't think there is any reliable way.
See Also
Categories
Find more on Computer Vision with Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!