Human detection using svm and hog and counting
2 次查看(过去 30 天)
显示 更早的评论
Hi. I want to find human in a given image and then estimate the number of them.. i need to do this with svm and hog and i dont want to use computer vision . i know how to get hog feature and also how to train svm for simple object detection but i dont know how to use svm to find some people in a image and then locate them with a rectangle?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153510/image.jpeg)
0 个评论
采纳的回答
Dima Lisin
2016-1-25
If you must do this from scratch, then you are going to have to implement the sliding window search. You slide a rectangle of a fixed size over the image, and each time classify it using your HOG-SVM classifier to see if there is a person there.
Or you use vision.PeopleDetector in the Computer Vision System Toolbox, which already includes a pre-trained HOG-SVM model, and will do sliding windows for you.
7 个评论
更多回答(1 个)
Andrei Cosmin
2017-2-1
Hello there! I want to do same project and I don't know how to start and if the following diagram for the implementation it is ok: - obtain the hog feature; - doing calassification with a SVM code. I have read a lot of papers about the implementation of HOG and SVM and I don't exactly how to apply on my situation. I want to thank you for all response.
1 个评论
zerocool timilsina
2017-2-19
Hi Andrei Cosmin. I am also working on this project. If you have completed this project then please share your work at timilsinadevipd@gmail.com. thank you .
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing and Computer Vision 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!