Collection of scripts playing around with rasberry pi camera
-
did raspberry pi config to turn on camera: sudo raspi-config Interfacing Options > Camera > Enable > REBOOT
-
use python3 module
#!/usr/bin/python3
from picamera import PiCamera
PiCamera().capture('/home/pi/Desktop/image.jpg')