Images grabbing example with the vpDirectShowGrabber class.
#include <visp/vpConfig.h>
#include <visp/vpImage.h>
#include <visp/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;
}
}