6#ifndef YARP_FRAMEGRABBER_PROTOCOL_FRAMEGRABBEROF_FORWARDER_H
7#define YARP_FRAMEGRABBER_PROTOCOL_FRAMEGRABBEROF_FORWARDER_H
33 int height()
const override;
34 int width()
const override;
constexpr yarp::conf::vocab32_t VOCAB_RGB_IMAGE
constexpr yarp::conf::vocab32_t VOCAB_FRAMEGRABBER_IMAGE
yarp::sig::ImageOf< yarp::sig::PixelRgb > ImageType
Read a YARP-format image (of a specific type) from a device.
A mini-server for network communication.
This classes implement a sender / parser for IFrameGrabberOf interface messages.
int height() const override
Return the height of each frame.
int width() const override
Return the width of each frame.
~FrameGrabberOf_Forwarder() override=default
bool getImage(ImageType &image) override
Get an image from the frame grabber.
bool getImageCrop(cropType_id_t cropType, yarp::sig::VectorOf< std::pair< int, int > > vertices, ImageType &image) override
Get a crop of the image from the frame grabber.