2 #include <visp3/sensor/vp1394TwoGrabber.h>
3 #include <visp3/gui/vpDisplayX.h>
4 #include <visp3/core/vpImage.h>
5 #include <visp3/io/vpVideoWriter.h>
7 int main(
int argc,
char **)
9 #ifdef VISP_HAVE_DC1394
29 std::cout <<
"No image viewer is available..." << std::endl;
55 std::cout <<
"Catch an exception: " << e << std::endl;
static bool getClick(const vpImage< unsigned char > &I, bool blocking=true)
unsigned int getWidth() const
Use the X11 console to display images on unix-like OS. Thus to enable this class X11 should be instal...
error that can be emited by ViSP classes.
static void flush(const vpImage< unsigned char > &I)
static void display(const vpImage< unsigned char > &I)
Class that enables to write easily a video file or a sequence of images.
void saveFrame(vpImage< vpRGBa > &I)
void open(vpImage< vpRGBa > &I)
void setFileName(const char *filename)
unsigned int getHeight() const
Class for firewire ieee1394 video devices using libdc1394-2.x api.