You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build a timelapsing program in python, which analyzes the picture and determins the exposure, based on which it corrects it's shutter speed using a polynomial regression.
But I got stuck when the exposure is somewhere around 1 second, where you can see in the graph below, the brightness jumps
The orange line is the expected curve, the blue dots are actual measurements.
Digging deeper, I found out, that the actual exposure times differs from the shutter speed I set.
With cam.exposure_speed I found out, that at cam.shutter_speed = 1000000 (-> 1s) the actual exposure time was 7997813 (-> 8s) where as at cam.shutter_speed = 990000 (->0.99s) the exposure time was 989976 (-> 0.989s).
moreover do you pherahbs know how to set the exposure time below 1ms ( for example 0.1ms)
Traceback (most recent call last): File "/home/pi/kotzmichan.py", line 39, in <module> camera.shutter_speed = 0.5 File "/usr/lib/python3/dist-packages/picamera/camera.py", line 2594, in _set_shutter_speed self._camera.control.params[mmal.MMAL_PARAMETER_SHUTTER_SPEED] = value File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 1493, in __setitem__ func(self._port, key, conv(value)), ctypes.ArgumentError: argument 3: <class 'TypeError'>: wrong type
I am trying to build a timelapsing program in python, which analyzes the picture and determins the exposure, based on which it corrects it's shutter speed using a polynomial regression.
But I got stuck when the exposure is somewhere around 1 second, where you can see in the graph below, the brightness jumps
The orange line is the expected curve, the blue dots are actual measurements.
Digging deeper, I found out, that the actual exposure times differs from the shutter speed I set.
With
cam.exposure_speed
I found out, that atcam.shutter_speed = 1000000
(-> 1s) the actual exposure time was7997813
(-> 8s) where as atcam.shutter_speed = 990000
(->0.99s) the exposure time was989976
(-> 0.989s).Here is an example code to recreate the effect:
So far I tested:
I am running
Any help on this will be helpful, I will try to edit missing information asap.
The text was updated successfully, but these errors were encountered: