Method Set
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Set(VideoCaptureProperties, double)
Sets a property in the VideoCapture.
public bool Set(VideoCaptureProperties propertyId, double value)
Parameters
propertyIdVideoCapturePropertiesProperty identifier from cv::VideoCaptureProperties (eg. cv::CAP_PROP_POS_MSEC, cv::CAP_PROP_POS_FRAMES, ...) or one from @ref videoio_flags_others
valuedoubleValue of the property.
Returns
- bool
trueif the property is supported by backend used by the VideoCapture instance.
Set(int, double)
Sets a property in the VideoCapture.
public bool Set(int propertyId, double value)
Parameters
propertyIdintProperty identifier from cv::VideoCaptureProperties (eg. cv::CAP_PROP_POS_MSEC, cv::CAP_PROP_POS_FRAMES, ...) or one from @ref videoio_flags_others
valuedoubleValue of the property.
Returns
- bool
trueif the property is supported by backend used by the VideoCapture instance.