Instantiates opencv_grabber device implemented by OpenCVGrabber. More...
Instantiates opencv_grabber device implemented by OpenCVGrabber.
# read a camera using opencv device opencv_grabber
If this text is saved in a file called opencv_grabber_basic.ini then the device can be created by doing:
yarpdev --file opencv_grabber_basic.ini
Of course, the configuration could be passed just as command line options, or as a yarp::os::Property object in a program:
Here is a list of properties checked when starting up a device based on this configuration file. Note that which properties are checked can depend on whether other properties are present. In some cases properties can also vary between operating systems. So this is just an example
PROPERTY | DESCRIPTION | DEFAULT |
device | ||
movie | if present, read from specified file rather than camera | |
camera | if present, read from camera identified by this index | 0 |
framerate | if present, specifies desired camera device framerate | |
flip_x | if present, flip the image along the x-axis | |
flip_y | if present, flip the image along the y-axis | |
transpose | if present, rotate the image along of 90 degrees | |
width | if present, specifies desired image width | |
height | if present, specifies desired image height |