7#ifndef YARP_DEV_IFRAMEGRABBERIMAGE_H
8#define YARP_DEV_IFRAMEGRABBERIMAGE_H
63template <
typename ImageType>
91 std::vector<yarp::dev::VertexData> vertices,
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.
Read a YARP-format image (of a specific type) from a device.
virtual yarp::dev::ReturnValue getImage(ImageType &image)=0
Get an image from the frame grabber.
virtual yarp::dev::ReturnValue getImageCrop(yarp::dev::cropType_id_t cropType, std::vector< yarp::dev::VertexData > vertices, ImageType &image)
Get a crop of the image from the frame grabber.
For streams capable of holding different kinds of content, check what they actually have.