Ask Your Question
0

No compute method for cv::gpu::HOGDescriptor

asked 2015-09-16 09:34:21 -0600

digtooni gravatar image

Hi,

I am trying to build a GPU accelerated SVM detector using HOG in OpenCV 2.4 (cannot upgrade to 3 right now unfortunately).

I have noticed that this function below does not exist in the cv::gpu implementation:

public void compute(Mat img,
       MatOfFloat descriptors,
       Size winStride,
       Size padding,
       MatOfPoint locations)

As I understand it, it is the method for computing the hog features for the image. I was wondering if it did exist in the gpu library under a different name?

I have looked through the source code here: https://github.com/Itseez/opencv/blob... but couldn't find something that looked like an equivalent, however I may have just missed it (I am quite new to HOG).

In short, does anyone know if this method exists in cv::gpu::HOGDescriptor under a different name?

edit retag flag offensive close merge delete

Comments

I'd say getDescriptors() is the equivalent

LorenaGdL gravatar imageLorenaGdL ( 2015-09-16 09:58:29 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-21 10:12:00 -0600

digtooni gravatar image

That was the answer, thanks!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-09-16 09:34:21 -0600

Seen: 387 times

Last updated: Sep 16 '15