Human detection using svm and hog and counting

3 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Dima Lisin
Dima Lisin il 25 Gen 2016
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 Commenti
Samir khan
Samir khan il 19 Lug 2018
can you tell how to do it using HOG-SVM classifier
Shivani Powar
Shivani Powar il 25 Gen 2021
can you share the code i have problem for classifier

Accedi per commentare.

Più risposte (1)

Andrei Cosmin
Andrei Cosmin il 1 Feb 2017
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 Commento
zerocool timilsina
zerocool timilsina il 19 Feb 2017
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 .

Accedi per commentare.

Categorie

Scopri di più su Image Processing and Computer Vision in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by