Images grabbing example with the vpV4l2Grabber class.
#include <visp/vpImage.h>
#include <visp/vpV4l2Grabber.h>
int main()
{
try {
#ifdef VISP_HAVE_V4L2
for ( ; ; )
#endif
return 0;
}
std::cout << "Catch an exception: " << e << std::endl;
return 1;
}
}