1 | initial version |
You are using two different flags cv2.CV_CAP_PROP_FPS
and cv2.CAP_PROP_FPS
. The right flag is cv2.CAP_PROP_FPS
and change it to so when setting your cap
.
2 | No.2 Revision |
You are using two different flags cv2.CV_CAP_PROP_FPS
and cv2.CAP_PROP_FPS
. The right correct flag is cv2.CAP_PROP_FPS
and change it to so when setting your cap
.
3 | No.3 Revision |
You are using two different flags cv2.CV_CAP_PROP_FPS
and cv2.CAP_PROP_FPS
. The correct flag is cv2.CAP_PROP_FPS
and change it to so when setting your cap
.
EDIT I
Read this to understand how FPS works. One way of achieving what you want is to simply add a delay in your loop that reads the frames using cv2.waitKey(delayTime)
. If you set delayTime=50
then FPS will be 1000/50 = 20.
4 | No.4 Revision |
You are using two different flags cv2.CV_CAP_PROP_FPS
and cv2.CAP_PROP_FPS
. The correct flag is cv2.CAP_PROP_FPS
and change it to so when setting your cap
.
EDIT I
Read this to understand how FPS works. One way of achieving what you want is to simply add a delay in your loop that reads the frames using
. If you set cv2.waitKey(delayTime)cv2.waitKey(delay_time)
then FPS will be 1000/50 = 20.delayTime=50delay_time=50
5 | No.5 Revision |
You are using two different flags cv2.CV_CAP_PROP_FPS
and cv2.CAP_PROP_FPS
. The correct flag is cv2.CAP_PROP_FPS
and change it to so when setting your cap
.
EDIT I
Read this to understand how FPS works. One way of achieving what you want is to simply add a delay in your loop that reads the frames using cv2.waitKey(delay_time)
. If you set delay_time=50
then FPS will be 1000/50 = 20.20. So for your case you could set a delay_time = 100 to get 10FPS.
6 | No.6 Revision |
You are using two different flags cv2.CV_CAP_PROP_FPS
and cv2.CAP_PROP_FPS
. The correct flag is cv2.CAP_PROP_FPS
and change it to so when setting your cap
.
EDIT I
Read this to understand how FPS works. One way of achieving what you want is to simply add a delay in your loop that reads the frames using cv2.waitKey(delay_time)
. If you set delay_time=50
then FPS will be 1000/50 = 20. So for your case you could set a delay_time =
100 100 to get 10FPS.