This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import picamera | |
import picamera.array | |
import time | |
threshold = 10 # How Much pixel changes | |
sensitivity = 100 # How many pixels change | |
def takeMotionImage(width, height): |