**This is an old revision of the document!** ----
====== Pi Camera Board ====== First of all, we'll have to connect the camera ribbon to the Pi's camera port, refer to the official [[https://www.raspberrypi.org/documentation/usage/camera/README.md|Raspberry Pi website article]] explaining how to: * Physically connect it * Enable it using ''sudo raspi-config'' * Use the camera via [[https://www.raspberrypi.org/documentation/usage/camera/raspicam/README.md|a shell]] or [[https://www.raspberrypi.org/documentation/usage/camera/python/README.md|using python]] ---- ===== PiCamera ===== ---- There are a couple of python libraries available for the Pi Camera.\\ The following is a real-life usage sample of [[http://picamera.readthedocs.io|picamera]]: To make picamera available **for all users** on the system: <code> > sudo apt-get update > sudo apt-get install python-picamera [> sudo apt-get install python3-picamera] </code> to remove your installation: <code> > sudo apt-get remove python-picamera [> sudo apt-get remove python3-picamera] </code> To install picamera in a **Virtualenv**: <code> > sudo apt-get install python-pip python-virtualenv > virtualenv sandbox [> virtualenv -p python3 sandbox] > source sandbox/bin/activate (sandbox) $ pip install picamera [(sandbox) $ pip-3.2 install picamera] </code> More about [[http://picamera.readthedocs.io/en/release-1.10/install2.html#virtualenv-installation|upgrading, removing picamera from a virtualenv]]. ----