Created
February 13, 2018 18:42
-
-
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.
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
from picamera import PiCamera | |
from time import sleep | |
camera = PiCamera() | |
camera.start_preview() | |
sleep(65) | |
camera.stop_preview() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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!