initial commit

This commit is contained in:
Donald Burr 2015-02-14 21:21:40 -08:00
commit c3b94b7106
91 changed files with 56958 additions and 0 deletions

23
scripts/still_test Executable file
View file

@ -0,0 +1,23 @@
#!/usr/bin/python
#
# camera orientation should be with the cable pointing downward.
# if you have it mounted the opposite (cable pointed upward) you
# will need to set both camera.hflip and camera.vflip to True.
import picamera
import threading
camera = picamera.PiCamera()
def snap():
snap.counter += 1
threading.Timer(5.0, snap).start()
print "Taking picture %d" % snap.counter
camera.capture('image_%d.jpg' % snap.counter)
camera.resolution = (640, 480)
camera.hflip = True
camera.vflip = True
snap.counter = 0
snap()