Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

rasperry pi camera

from picamera import PiCamera
from time import sleep

camera = Picamera()

camera.start_preview()
sleep(5)
camera.capture('/home/pi/Desktop/image.jpg')
camera.stop_preview()
 
PREVIOUS NEXT
Tagged: #rasperry #pi #camera
ADD COMMENT
Topic
Name
3+9 =