OpenCV
3.1.0-dev
Open Source Computer Vision
|
enum cv::VideoCaptureAPIs |
Capture API backends.
Select preferred API for a capture object. To be used in the constructor VideoCapture::VideoCapture or VideoCapture::open
cvconfig.h
to know which APIs are currently available (e.g. HAVE_MSMF, HAVE_VFW, HAVE_LIBV4L
). To enable/disable APIs, you have to:-DWITH_MSMF=ON -DWITH_VFW=ON ...
) or checking related switch in cmake-guigeneric properties (based on DC1394 properties)
Enumerator | |
---|---|
CAP_PROP_POS_MSEC |
Current position of the video file in milliseconds. |
CAP_PROP_POS_FRAMES |
0-based index of the frame to be decoded/captured next. |
CAP_PROP_POS_AVI_RATIO |
Relative position of the video file: 0=start of the film, 1=end of the film. |
CAP_PROP_FRAME_WIDTH |
Width of the frames in the video stream. |
CAP_PROP_FRAME_HEIGHT |
Height of the frames in the video stream. |
CAP_PROP_FPS |
Frame rate. |
CAP_PROP_FOURCC |
4-character code of codec. see VideoWriter::fourcc . |
CAP_PROP_FRAME_COUNT |
Number of frames in the video file. |
CAP_PROP_FORMAT |
Format of the Mat objects returned by VideoCapture::retrieve(). |
CAP_PROP_MODE |
Backend-specific value indicating the current capture mode. |
CAP_PROP_BRIGHTNESS |
Brightness of the image (only for cameras). |
CAP_PROP_CONTRAST |
Contrast of the image (only for cameras). |
CAP_PROP_SATURATION |
Saturation of the image (only for cameras). |
CAP_PROP_HUE |
Hue of the image (only for cameras). |
CAP_PROP_GAIN |
Gain of the image (only for cameras). |
CAP_PROP_EXPOSURE |
Exposure (only for cameras). |
CAP_PROP_CONVERT_RGB |
Boolean flags indicating whether images should be converted to RGB. |
CAP_PROP_WHITE_BALANCE_BLUE_U |
Currently unsupported. |
CAP_PROP_RECTIFICATION |
Rectification flag for stereo cameras (note: only supported by DC1394 v 2.x backend currently). |
CAP_PROP_MONOCHROME | |
CAP_PROP_SHARPNESS | |
CAP_PROP_AUTO_EXPOSURE |
DC1394: exposure control done by camera, user can adjust reference level using this feature. |
CAP_PROP_GAMMA | |
CAP_PROP_TEMPERATURE | |
CAP_PROP_TRIGGER | |
CAP_PROP_TRIGGER_DELAY | |
CAP_PROP_WHITE_BALANCE_RED_V | |
CAP_PROP_ZOOM | |
CAP_PROP_FOCUS | |
CAP_PROP_GUID | |
CAP_PROP_ISO_SPEED | |
CAP_PROP_BACKLIGHT | |
CAP_PROP_PAN | |
CAP_PROP_TILT | |
CAP_PROP_ROLL | |
CAP_PROP_IRIS | |
CAP_PROP_SETTINGS | |
CAP_PROP_BUFFERSIZE | |
CAP_PROP_AUTOFOCUS |
Generic properties identifier for VideoWriter.