tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit 610bce984a9ae565fdaa15e885bef54af67abb85
parent fde2b493e6878effccfe18f725e2de803eca03f0
Author: rob <rob@tarina.org>
Date:   Wed,  8 May 2019 13:22:55 +0300

version control fixed

Diffstat:
Mtarina.py | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tarina.py b/tarina.py @@ -1186,11 +1186,13 @@ def startcamera(lens): #lensshade = npzfile['lens_shading_table'] table = read_table('lenses/' + lens) #camera.framerate = 24.999 - v = picamera.camera.mo.MMALCameraInfo().info_rev + v = camera.revision + # v1 = 'ov5647' + # v2 = print("picamera version is: " + str(v)) - if v > 1: + if v == 'img': camera.framerate = 23.2 - else: + if v == 'ov5647': camera.framerate = 26.03 camera.crop = (0, 0, 1.0, 1.0) #camera.video_stabilization = True