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