Skip to content

Instantly share code, notes, and snippets.

@Jawn78
Created February 13, 2018 18:42
Show Gist options
  • Save Jawn78/aaba680a92167deb04b38d3ee7e15bb0 to your computer and use it in GitHub Desktop.
Save Jawn78/aaba680a92167deb04b38d3ee7e15bb0 to your computer and use it in GitHub Desktop.
Raspberry Pi - Python code to preview camera. Working on a Photobooth & FPV Wifi remote car.
from picamera import PiCamera
from time import sleep
camera = PiCamera()
camera.start_preview()
sleep(65)
camera.stop_preview()
@Jawn78
Copy link
Author

Jawn78 commented Feb 13, 2018

Sample of code used to work with Raspberry Pi camera modules. I have more advanced code as I work on a photo booth, and wifi remote controlled car with first person view camera. More to come!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment