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 EXIT_SUCCESS;
std::cout << "Catch an exception: " << e << std::endl;
return EXIT_FAILURE;
}
}