Ask Your Question
0

ocl/hog.cpp detecting rate in GPU mode

asked 2013-08-30 01:58:08 -0600

twkim gravatar image

I have been testing ocl/hog.cpp in my desktop with AMD Radeon HD 5700 Series using window7 64bit and visual studio 2012. But during executing, people detecting of GPU mode is not so good(very low detecting rate). In CPU mode (changed by m key), people detecting rate is good.

What should i do to get high detecting rate in GPU mode? Could you let me know how to improve detecting rate in GPU mode and show me the way in detail please?

Some information.. Both GPU and CPU mode is same parameters(scale, level number, threshold, etc...) and AMD GPU Device driver(AMP APP) is already install. As executing opencv_perf_ocld.exe, all of GPU performance is better than CPU's. GPU usage is checked. Also CMake is done and .dll file is made by solution build(OpenCV.sln)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-09-03 07:09:40 -0600

decision gravatar image

Since you use the debug version of the performance test utility, let me ask: Are you comparing GPU vs. CPU performance of your HOG application in release build? If not, you should.

edit flag offensive delete link more
-1

answered 2013-09-02 10:46:09 -0600

twkim gravatar image

Problem solved. If anyone encountered same problem, should use OpenCV version 2.4.4 and CMake with VC 2012 environment (before i was used OpenCV 2.5.4)

edit flag offensive delete link more

Comments

This is not correct ... You should always use the latest version, which is openCV 2.4.6! This does work with VS2012, just be sure to use vc11.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-09-02 14:35:54 -0600 )edit

sorry. I had mistake to write. I was using OpenCV 2.4.5(I don't know why I was not using the lastest version... i had believed 2.4.5 is the lastest version without checking the version.. my fault). and using visual studio 2012(vc11) Have ever been testing Ocl with OpenCV 2.4.6 and Visual studio2012? Oppoesd to your opinion, now I am using hog.cpp of example ocl well in OpenCV2.4.4 and Visual studio 2012. In OpenCV homepage, version of 2.4.4 is used to testing implementation(http://docs.opencv.org/modules/ocl/doc/introduction.html). Desite not the lastest version of OpenCV, version 2.4.5 was not executable in ocl examples with my environment

twkim gravatar imagetwkim ( 2013-09-03 19:48:24 -0600 )edit

"As of OpenCV 2.4.4" means that all following versions support also. If it didn't work, then please create a topic, place your code, error code, system configuration, ... so we can find out why it didn't work. If it is actually a bug we then create a bug tracker to try to solve the issue. However since 2.4.5 a lot of updates have been made, so it is possible your problem was fixed already. You should check it out.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-09-04 01:43:27 -0600 )edit

Question Tools

Stats

Asked: 2013-08-30 01:58:08 -0600

Seen: 936 times

Last updated: Sep 03 '13