Ask Your Question
0

cv2.CAP_PROP_EXPOSURE is different in ubuntu and windows, and what is the meaning of each the value of cv2.CAP_PROP_EXPOSURE ?

asked 2020-08-13 00:26:56 -0600

Tonylin gravatar image

Hello

I was working my project with one webcam in both windows10 and ubuntu 16.04, and I find when I get this webcam's exposure bycap.get(cv2.CAP_PROP_EXPOSURE), I will get a negative integer (around -5 to -7) in windows10, and a positive integer (around 70) in ubuntu 16.04, I want to know why there is difference? and what is the meaning of value of cv2.CAP_PROP_EXPOSURE in windows10 and ubuntu 16.04 is respectively?

In both operating system, I have my python environment as follow:

python=3.5.4

opencv-python=4.1.0.25

Thanks a lot!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-08-13 08:09:09 -0600

amateurpirate gravatar image

The negative integers represent an exponent base 2 of a second. I.e. -5 == 2^-5 == 0.03125 seconds or something like that. And the positive integers represent a duration in milliseconds.

edit flag offensive delete link more

Comments

Oh I see. Thanks a lot!

Tonylin gravatar imageTonylin ( 2020-08-14 03:51:33 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2020-08-12 23:21:19 -0600

Seen: 1,879 times

Last updated: Aug 13 '20