2 #include <visp/vpV4l2Grabber.h>
3 #include <visp/vpDisplayX.h>
4 #include <visp/vpImage.h>
20 std::cout <<
"No image viewer is available..." << std::endl;
31 std::cout <<
"Catch an exception: " << e << std::endl;
void acquire(vpImage< unsigned char > &I)
void open(vpImage< unsigned char > &I)
unsigned int getWidth() const
Define the X11 console to display images.
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 for the Video4Linux2 video device.
unsigned int getHeight() const
virtual bool getClick(bool blocking=true)=0