Skip to content

Instantly share code, notes, and snippets.

Derrick derrick-gopher

Block or report user

Report or block derrick-gopher

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@derrick-gopher
derrick-gopher / raspberrypi-picamera-motion-detection.py
Created Jul 22, 2018 — forked from FutureSharks/raspberrypi-picamera-motion-detection.py
A simple example of using the Raspberry Pi Camera Module and python picamera for motion detection
View raspberrypi-picamera-motion-detection.py
#!/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):
You can’t perform that action at this time.