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