The idea is to how fast is our cubieboard to do some exercise, as could be detect faces, or detect and object.
I've saved a couple of videos in different resolutions, they are saved from my desktop and you can see how the lag is working, it's not realistic exercise, but it can show as a little information.
First the code
#define WITH 640
#define HEIGHT 480
int main (int argc, char** argv)
double flagGrab,flagRetrieve, flag;
//Change the size of the resolution (640x480,320x240,160x120)
while ( waitKey(1) <= 0 && !salir)
webCam.grab() ? :salir=true;
//here the code will start to work with the image
and here the result, the videos are a little bit bored
With this videos I'll try to make the exercise to detect a pattern, on a real time detection.