Skip to content

Instantly share code, notes, and snippets.

@erogol
Created May 25, 2017 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erogol/228fe6db3b3027fb5dfabe87fb7184ec to your computer and use it in GitHub Desktop.
Save erogol/228fe6db3b3027fb5dfabe87fb7184ec to your computer and use it in GitHub Desktop.
# allow the camera to warmup, then initialize the average frame, last
# uploaded timestamp, and frame motion counter
print "[INFO] warming up..."
time.sleep(conf["camera_warmup_time"])
avg = None
lastUploaded = datetime.datetime.now()
motionCounter = 0
print('[INFO] talking raspi started !!')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment