Different output from GPU implementation of HOG

asked 2015-10-20 09:50:03 -0500

digtooni gravatar image


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?


edit retag flag offensive close merge delete


Hi, in our test we got also different results for GPU and CPU HOG Implementation (See my question here ).

Siegfried gravatar imageSiegfried ( 2015-10-21 03:35:31 -0500 )edit