Opencv 3.0 hog.cpp sample code crashing at gpu_hog->detectMultiScale(gpu_img, found);

asked 2015-10-16 13:53:24 -0500

xuemin gravatar image

Hi there,

I am running opencv 3.0's sample code hog.cpp for people detection, using the GPU. (the CPU part crashes for me). when I run the sample code, the code compiles, but when I run it, it crashes at the line: gpu_hog->detectMultiScale(gpu_img, found);

Unhandled exception at 0x000007FEDE717A28 (opencv_core300.dll) in Hog3StandAlone.exe: 0xC0000005: Access violation reading location 0x000002380000013C.

I am using visual studio 2012, Windows 7 Pro 64 bit.

Please help, Thanks.

edit retag flag offensive close merge delete

Comments

Could you please point out where such sample is located? I can't see a hog.cpp file in samples' folder

LorenaGdL gravatar imageLorenaGdL ( 2015-10-16 16:49:20 -0500 )edit

thank you for your response.

yes, it's in the folder: \samples\gpu\hog.cpp

thanks.

xuemin gravatar imagexuemin ( 2015-10-19 16:27:51 -0500 )edit