gpu accerated HOGDespcriptor

asked 2013-06-21 15:54:45 -0500

updated 2016-08-21 13:33:56 -0500

Hi, everybody. I'm porting OpenCV gpu accerated HOGDespcriptor to OpenCL. Yet I cannot get correct result. Can anybody run "opencv\modules\gpu\src\hog.cpp", the main is something like this:

HOGDescriptor cpuHog;
vector<float> pt = cpuHog.getDefaultPeopleDetector();
cpuHog.setSVMDetector(pt);
vector<Rect> found, found_filtered;
cpuHog.detectMultiScale(MatSrc, found, 0, Size(8,8), Size(30,30), 1.05, 2);

I hope to read grad, qangle, block_hists(before and after normalize) array.

If you can help, please help me. Thanks a lot!

edit retag flag offensive close merge delete