Ask Your Question
1

Difference between cpu and gpu detectMultiScale

asked 2012-08-08 14:04:09 -0500

Victor1234 gravatar image

Cpu algirithm work fine, but when i use it implementation on gpu, it return less then half of objects of cpu version. Parameters are the same. What did I do wrong?

edit retag flag offensive close merge delete

Comments

same problem here, I'm getting even less result then half back from GPU

PatrickvdL gravatar imagePatrickvdL ( 2012-10-23 14:38:30 -0500 )edit

@PatrickvdL with what version of opencv?

Victor1234 gravatar imageVictor1234 ( 2012-11-06 16:21:22 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-01-08 06:42:02 -0500

Foloex gravatar image

With the CPU version of detectMultiScale you can provide a color image. The GPU one requires a grayscale image. The GPU is way faster than the CPU counterpart and seems to return good results for me.

You can do a cvtcolor on the GPU while the image is there but it doesn't seem to be faster than the CPU version of cvtcolor.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-08-08 14:04:09 -0500

Seen: 560 times

Last updated: Jan 08 '13