PI Camera

from picamera import PiCamera

from time import sleep


camera=PiCamera()


camera.start_preview()

sleep(5)

camera.stop_preview(alpha=10)