0 CV_CAP_PROP_POS_MSEC Current position of the video file in milliseconds or video capture timestamp.
1 CV_CAP_PROP_POS_FRAMES 0-based index of the frame to be decoded/captured next.
2 CV_CAP_PROP_POS_AVI_RATIO Relative position of the video file: 0 - start of the film, 1 - end of the film.
3 CV_CAP_PROP_FRAME_WIDTH #视频帧宽度
4 CV_CAP_PROP_FRAME_HEIGHT #视频帧高度
5 CV_CAP_PROP_FPS #视频帧速率
6 CV_CAP_PROP_FOURCC 4-character code of codec.
7 CV_CAP_PROP_FRAME_COUNT #视频总帧数
8 CV_CAP_PROP_FORMAT Format of the Mat objects returned by retrieve() .
9 CV_CAP_PROP_MODE Backend-specific value indicating the current capture mode.
10 CV_CAP_PROP_BRIGHTNESS Brightness of the image (only for cameras).
11 CV_CAP_PROP_CONTRAST Contrast of the image (only for cameras).
12 CV_CAP_PROP_SATURATION Saturation of the image (only for cameras).
13 CV_CAP_PROP_HUE Hue of the image (only for cameras).
14 CV_CAP_PROP_GAIN Gain of the image (only for cameras).
1
cv2相关参数
本文介绍了OpenCV中用于视频处理的参数,包括帧位置、帧宽高、帧率、编码器、总帧数、图像格式、亮度、对比度、饱和度、色调、增益、曝光、RGB转换、白平衡以及相机的校正等特性。

最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



