commit 84a59c8ec48b3406efcadc0da71d481706381702
parent 610bce984a9ae565fdaa15e885bef54af67abb85
Author: rob <rob@tarina.org>
Date: Wed, 8 May 2019 13:44:40 +0300
more framerate fixes
Diffstat:
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/tarina.py b/tarina.py
@@ -1188,12 +1188,16 @@ def startcamera(lens):
#camera.framerate = 24.999
v = camera.revision
# v1 = 'ov5647'
- # v2 =
+ # v2 = ?
print("picamera version is: " + str(v))
- if v == 'img':
- camera.framerate = 23.2
+ if v == 'somy, whatever it was':
+ camera.framerate = 24.999
if v == 'ov5647':
+ # Different versions of ov5647 with different clock speeds, need to make a config file
+ # ov5647 Rev C
camera.framerate = 26.03
+ # ov5647 Rev D"
+ # camera.framerate = 23.2
camera.crop = (0, 0, 1.0, 1.0)
#camera.video_stabilization = True
camera.led = False