Images grabbing example with the vp1394TwoGrabber class.
#include <stdio.h>
#include <stdlib.h>
#include <visp3/core/vpImage.h>
#include <visp3/sensor/vp1394TwoGrabber.h>
int main()
{
#ifdef VISP_HAVE_DC1394
try {
unsigned int ncameras;
for (unsigned int camera = 0; camera < ncameras; camera++) {
}
for (;;) {
for (unsigned int camera = 0; camera < ncameras; camera++) {
}
}
delete[] I;
return EXIT_SUCCESS;
std::cout << "Catch an exception: " << e << std::endl;
return EXIT_FAILURE;
}
#endif
}