my cam->SetVideoType(CameraLibrary::MJPEGMode);
my cam->SetAEC(true);
my cam->SetAGC(true);
is this the best configuration for speed increasing in OpenCV? for real-time?
[/quote]
I personally found AEC and AGC of no help, so I always keep them off, but YMMV. The camera settings don't have an effect on the speed with OpenCV. The "CPU expensive" operation (but still affordable) is the call to rasterize(). If you only need marker positions, you might want to go without pictures (using Precision mode).
davidtheory wrote: I saw the image processing example and the way they render the image with OpenGL seems (my perception) to be faster than showing the image in an OpenCV window.