Method Get
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Get(VideoCaptureProperties)
Returns the specified VideoCapture property
public double Get(VideoCaptureProperties propertyId)
Parameters
propertyIdVideoCapturePropertiesProperty identifier from cv::VideoCaptureProperties (eg. cv::CAP_PROP_POS_MSEC, cv::CAP_PROP_POS_FRAMES, ...) or one from @ref videoio_flags_others
Returns
- double
Value for the specified property. Value 0 is returned when querying a property that is not supported by the backend used by the VideoCapture instance.
Get(int)
Returns the specified VideoCapture property
public double Get(int propertyId)
Parameters
propertyIdintProperty identifier from cv::VideoCaptureProperties (eg. cv::CAP_PROP_POS_MSEC, cv::CAP_PROP_POS_FRAMES, ...) or one from @ref videoio_flags_others
Returns
- double
Value for the specified property. Value 0 is returned when querying a property that is not supported by the backend used by the VideoCapture instance.