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