How to match 2 HOG opencv?
===

Basically I am implementing a system of object detection. I have already implemenet SIFT and ORB for detection.

Now I would like to add HOG matching. I can extract HOG feature by doing:

    Mat image(imread("object.jpg",1));
    vector<float> features;
    vector<Point> locations;
    HOGDescriptor *hog = new HOGDescriptor();
    hog->compute(image,featjres,Size(8,8), Size(32,32),locations);

Now I would like to use this information to find a match in a query image containg the object, I don't want to use SVM. Any sample code?