当前位置:网站首页>OpenCV VideoCapture. Get() parameter details

OpenCV VideoCapture. Get() parameter details

2022-07-06 22:19:00 gmHappy


param

define

cv2.VideoCapture.get(0)

The current location of the video file ( Play ) In Milliseconds

cv2.VideoCapture.get(1)

Based on 0 The initial index of the captured or decoded frame

cv2.VideoCapture.get(2)

Relative location of video files ( Play ):0= The movie begins ,1= The end of the film .

cv2.VideoCapture.get(3)

The width of the frame in the video stream

cv2.VideoCapture.get(4)

The height of the frame in the video stream

cv2.VideoCapture.get(5)

Frame rate

cv2.VideoCapture.get(6)

Codec 4 word - Character code

cv2.VideoCapture.get(7)

The number of frames in the video file

cv2.VideoCapture.get(8)

Returns the format of the object

cv2.VideoCapture.get(9)

Returns a backend specific value , This value indicates the current capture mode

cv2.VideoCapture.get(10)

The brightness of the image ( Camera only )

cv2.VideoCapture.get(11)

The contrast of the image ( Camera only )

cv2.VideoCapture.get(12)

The saturation of the image ( Camera only )

cv2.VideoCapture.get(13)

halftone image ( Camera only )

cv2.VideoCapture.get(14)

Image gain ( Camera only )(Gain In photography, it indicates the improvement of white balance )

cv2.VideoCapture.get(15)

Exposure ( Camera only )

cv2.VideoCapture.get(16)

Indicates whether the image should be converted to RGB The Boolean sign

cv2.VideoCapture.get(17)

× Temporarily not supported

cv2.VideoCapture.get(18)

Correction and marking of stereo camera ( At present, only DC1394 v.2.x The backend supports this function )


原网站

版权声明
本文为[gmHappy]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202131057309701.html