Skip to content

Instantly share code, notes, and snippets.

@keithweaver
Last active December 16, 2018 15:41
Show Gist options
  • Save keithweaver/bcd813ad86c58b38848c35c5192ee5cd to your computer and use it in GitHub Desktop.
Save keithweaver/bcd813ad86c58b38848c35c5192ee5cd to your computer and use it in GitHub Desktop.
Sample code used in http://localhost:3000/docs/tutorial/smart-dashcam
def delete_image(image_object):
# TODO
print ('delete_image')
def process_image(image_object):
# TODO
print ('process_image')
def take_image_from_pi_cam():
print ('insert_take_image')
def main():
while True:
image_path = take_image_from_pi_cam()
image = get_image_from_path(image_path)
process_image(image)
delete_image(image)
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment