Table of Contents

Method Get

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Get(VideoCaptureProperties)

Returns the specified VideoCapture property

public double Get(VideoCaptureProperties propertyId)

Parameters

propertyId VideoCaptureProperties

Property 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

propertyId int

Property 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.