Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Different output from GPU implementation of HOG

Hi,

I have built two HOG SVM detectors for detecting people, which I have trained myself.

One of them is GPU accelerated (using the OpenCV 2.4 gpu module), but other than that, the rest of the code is exactly the same.

However, when running them side by side, on the same video, I am getting different outputs. They are both detecting people and behaving as intended however the GPU version will detect some of the people that were not detected in the CPU version and vice versa.

I just wanted to know if anyone who is well versed in GPU programming could explain why this might be the case? Is there a slight difference in the algorithm which is programmed for GPU which causes the numbers to shift around a bit?

Thanks