Ask Your Question

Difference between cpu and gpu detectMultiScale

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

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


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

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

@PatrickvdL with what version of opencv?

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

1 answer

Sort by ยป oldest newest most voted

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

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

Question Tools


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

Seen: 819 times

Last updated: Jan 08 '13