Ask Your Question
0

Frames/sec improvement in face detection.

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

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
1

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

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

Comments

Thank you. I'll try.

saamishon gravatar imagesaamishon ( 2014-10-26 09:48:36 -0600 )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 -0600 )edit

Question Tools

Stats

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

Seen: 235 times

Last updated: Oct 26 '14