Human detection using svm and hog and counting

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?

 채택된 답변

Dima Lisin
Dima Lisin 2016년 1월 25일

2 개 추천

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

I am very grateful that you have answered my question.. I did a Google search and I came to this content . I also downloaded INRIA Database, and now I am on the implementation of the project.
Hello,I am a newer in image processing.I want to do some research about detecting and counting people based a camera, could you give me some advice or pass some matlab code to me.
ahmed SHAH
ahmed SHAH 2016년 11월 19일
@payam abdy have you made the project i am also working on this right now :(
payam abdy , ahmed shah I am also working on this project. It will be very helpful if you guys share some of your works here.
sanjana16
sanjana16 2017년 11월 23일
편집: sanjana16 2017년 11월 23일
@ahmed SHAH and @zerocool timilsina, i am also working in this type of project. I need to count the number of people in a classroom. Can you help me, please. I am new in image processing.
can you tell how to do it using HOG-SVM classifier
can you share the code i have problem for classifier

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Andrei Cosmin
Andrei Cosmin 2017년 2월 1일

0 개 추천

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

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 .

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기

질문:

2016년 1월 24일

댓글:

2021년 1월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by