Last active
December 16, 2018 15:41
-
-
Save keithweaver/bcd813ad86c58b38848c35c5192ee5cd to your computer and use it in GitHub Desktop.
Sample code used in http://localhost:3000/docs/tutorial/smart-dashcam
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
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