Is it possible to run a GPU HOG with a custom window size?

asked 2015-10-27 19:23:23 -0600

digtooni gravatar image

I have been trying to train and run a GPU accelerated HOG detector using SVMlight and a winow size of 48x48 pixels.

I have gotten the HOG to work with the standard 49x96 window size for people, but when I try to train with my own data with a size of 48x48, the program stalls for a very long time in detectMultiScale() and fails to run properly.

This bug seems to be related: http://code.opencv.org/issues/2874

I have tried in OpenCV 2.4 with no success, and now I am trying with the CUDA library in OpenCV 3.0 but still getting the same stall issue.

My question is, has anyone managed to get this working with a custom window size?

edit retag flag offensive close merge delete

Comments

Hi. We run the GPU HoG with a descriptor size of 18x36 and 48x96 in our application without "stalling". The application was tested on a Tegra K1 and on a Geforce GTX 650 using the master branch of OpenCV 3.0 repository.

Siegfried gravatar imageSiegfried ( 2015-10-29 04:17:16 -0600 )edit