@@ -118,6 +118,9 @@ enum VideoCaptureAPIs {
118
118
};
119
119
120
120
/* * @brief %VideoCapture generic properties identifier.
121
+
122
+ Reading / writing properties involves many layers. Some unexpected result might happens along this chain.
123
+ Effective behaviour depends from device hardware, driver and API Backend.
121
124
@sa videoio_flags_others, VideoCapture::get(), VideoCapture::set()
122
125
*/
123
126
enum VideoCaptureProperties {
@@ -131,12 +134,12 @@ enum VideoCaptureProperties {
131
134
CAP_PROP_FRAME_COUNT =7 , // !< Number of frames in the video file.
132
135
CAP_PROP_FORMAT =8 , // !< Format of the %Mat objects returned by VideoCapture::retrieve().
133
136
CAP_PROP_MODE =9 , // !< Backend-specific value indicating the current capture mode.
134
- CAP_PROP_BRIGHTNESS =10 , // !< Brightness of the image (only for cameras).
137
+ CAP_PROP_BRIGHTNESS =10 , // !< Brightness of the image (only for those cameras that support ).
135
138
CAP_PROP_CONTRAST =11 , // !< Contrast of the image (only for cameras).
136
139
CAP_PROP_SATURATION =12 , // !< Saturation of the image (only for cameras).
137
140
CAP_PROP_HUE =13 , // !< Hue of the image (only for cameras).
138
- CAP_PROP_GAIN =14 , // !< Gain of the image (only for cameras).
139
- CAP_PROP_EXPOSURE =15 , // !< Exposure (only for cameras).
141
+ CAP_PROP_GAIN =14 , // !< Gain of the image (only for those cameras that support ).
142
+ CAP_PROP_EXPOSURE =15 , // !< Exposure (only for those cameras that support ).
140
143
CAP_PROP_CONVERT_RGB =16 , // !< Boolean flags indicating whether images should be converted to RGB.
141
144
CAP_PROP_WHITE_BALANCE_BLUE_U =17 , // !< Currently unsupported.
142
145
CAP_PROP_RECTIFICATION =18 , // !< Rectification flag for stereo cameras (note: only supported by DC1394 v 2.x backend currently).
@@ -157,7 +160,7 @@ enum VideoCaptureProperties {
157
160
CAP_PROP_TILT =34 ,
158
161
CAP_PROP_ROLL =35 ,
159
162
CAP_PROP_IRIS =36 ,
160
- CAP_PROP_SETTINGS =37 , // ! Pop up video/camera filter dialog (note: only supported by DSHOW backend currently. Property value is ignored)
163
+ CAP_PROP_SETTINGS =37 , // !< Pop up video/camera filter dialog (note: only supported by DSHOW backend currently. The property value is ignored)
161
164
CAP_PROP_BUFFERSIZE =38 ,
162
165
CAP_PROP_AUTOFOCUS =39
163
166
};
@@ -668,9 +671,9 @@ class CV_EXPORTS_W VideoCapture
668
671
669
672
@overload
670
673
671
- This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
672
674
Parameters are similar as the constructor VideoCapture(int index),except it takes an additional argument apiPreference.
673
- @return open(cameraNum + apiPreference).
675
+ Definitely, is same as open(int index) where `index=cameraNum + apiPreference`
676
+ @return `true` if the camera has been successfully opened.
674
677
*/
675
678
CV_WRAP bool open (int cameraNum, int apiPreference);
676
679
0 commit comments