Ask Your Question

Frames/sec improvement in face detection.

asked 2014-10-26 08:46:52 -0500

saamishon gravatar image

Running the default face detection in the samples folder.

In my lappy(CORE i5 - 3.1GHz) running ubuntu 14.04 : 20-25 frames/sec

In ODROID XU3 : Only 2 frames/sec :(

Do i need to configure something?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-26 09:14:32 -0500

berak gravatar image

there's a couple of things you could try:

  • use a lbpcascade instead of a haar one. (slightly less accurate, but much faster)
  • increase the scaleFactor in detectMultiScale)
  • use smaller images
edit flag offensive delete link more


Thank you. I'll try.

saamishon gravatar imagesaamishon ( 2014-10-26 09:48:36 -0500 )edit

And to add

  • Add a reduced scale range if you have fixed camera position
  • Use background foreground segmentation to only detect moving regions
  • Use a mask to completely ignore regions that don't interest you
StevenPuttemans gravatar imageStevenPuttemans ( 2014-10-28 06:43:37 -0500 )edit

Question Tools


Asked: 2014-10-26 08:46:52 -0500

Seen: 154 times

Last updated: Oct 26 '14