Raspberry Pi - Camera Module
What will be the output of this code snippet when run on a Raspberry Pi with a camera connected?
from picamera import PiCamera
from time import sleep
camera = PiCamera()
camera.start_preview()
sleep(2)
camera.capture('/home/pi/image.jpg')
camera.stop_preview()