Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to apply my own classifier when using HOG features?

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?

How to apply my own classifier when using HOG features?

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. 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. classifier.

Is there anyone who has the experience/knowledge using hog with other classifier? And how to? to?

How to apply my own classifier when using HOG features?

In the pedestrian detection demo "pedestriandetection.cpp", HOG features and SVM linear classifier are used. used ,just like Dalal and Triggs's method. 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, functions, which makes it difficult to apply other classifier. classifier when using HOG in OpenCV.

Is there anyone who has the experience/knowledge using hog with other classifier? And how to?