VideoCaptureUtils extension
Useful methods to adjust settings of an OpenCV video device.
- on
Properties
- autofocus ↔ int
-
Determines whether autofocus is on or off
getter/setter pair
- focus ↔ int
-
The focus of the camera.
getter/setter pair
- fps ↔ int
-
The frames per second the device will record, independent of calls to read.
getter/setter pair
- pan ↔ int
-
Pans the camera when zoomed in.
getter/setter pair
- roll ↔ int
-
Rolls the camera when zoomed in.
getter/setter pair
- tilt ↔ int
-
Tilts the camera vertically when zoomed in.
getter/setter pair
- zoom ↔ int
-
The zoom level of the camera.
getter/setter pair
Methods
-
setResolution(
{required int width, required int height}) → void - Sets the resolution of the device.