Low frame rate

Hi Sir

I am doing Image processing with beagleboard-xm as my final year BE
project in which I am doing face detection using opencv.I am using
Anstrom file system and opencv-2.2.0.I checked all the samples in
opencv but the pblem is that when I do face detection using webcam the
capture rate is very slow.Can any one please help me out.

Regards,
Jyothi

Hi Sir

Odd intro to a mailing list.

I am doing Image processing with beagleboard-xm as my final year BE
project in which I am doing face detection using opencv.I am using
Anstrom file system and opencv-2.2.0.I checked all the samples in
opencv but the pblem is that when I do face detection using webcam the
capture rate is very slow.Can any one please help me out.

It would be helpful if you provided a bit of profile data and information about the kernel driver and device being used.

For a likely quick work-around, try reducing the capture resolution.

For school work, you do realize this is exactly the type of problem you are meant to learn about, right? Can you please show us that you are researching the issue by providing a good amount of data and some theory as to what you think might be going wrong for you?

Try doing the following -

  1. Decrease the capture resolution, in case you are using a Megapixel webcam it might be sending the frames at a higher resolution, VGA (640x480) or QVGA (320x240) works pretty well with the OpenCV implementation of face detection, but it all depends on your application. So its better to check with your usage scenario and use the minimal possible resolution.

  2. Decrease the FPS - You don’t need to process each and every frame coming out from the camera, for normal applications even a 5-10fps works fine.

  3. Use a High Speed MicroSD card - Try to use a higher class MicroSD card, class 4 is easily available in market and would give a decent speed boost to the whole file system.

Best,
Mrityunjay