how to take a photo with ras pi camera code example Example: configure rpi for camera with terminal sudo raspi-config