7 #ifndef YARP_DEV_IFRAMEGRABBERIMAGE_H
8 #define YARP_DEV_IFRAMEGRABBERIMAGE_H
49 template <
typename ImageType>
contains the definition of a Vector type
Read a YARP-format image from a device.
virtual int width() const =0
Return the width of each frame.
virtual int height() const =0
Return the height of each frame.
virtual ~IFrameGrabberImageBase()
Destructor.
virtual bool getImageCrop(cropType_id_t cropType, yarp::sig::VectorOf< std::pair< int, int >> vertices, ImageType &image)
Get a crop of the image from the frame grabber.
virtual bool getImage(ImageType &image)=0
Get an image from the frame grabber.
For streams capable of holding different kinds of content, check what they actually have.