In the pedestrian detection demo "pedestriandetection.cpp", HOG features and SVM linear classifier are used. But I find it is too slow. On my Intel i3 processor and 6GB RAM computer, it takes 2.5s to detect pedestrians int a picture with 640x480 pixels. I guess it can be faster if I use a cascade classifier. But it seems that the class HOGDescriptor in OpenCV treats SVM as one of its member function, which makes it difficult to apply other classifier. Is there anyone who has the experience/knowledge using hog with other classifier? And how to?