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