Raspberry PI - Ubuntu Mate Camera - setup

Setup the camera
First, connect the Raspberry Pi with the camera and boot it. The camera module needs these two packages:

sudo apt-get install libraspberrypi-dev
sudo pip install picamera

Then, open config.txt with sudo nano /boot/firmware/config.txt and add the lines


at the end of the file. Save, then reboot the Raspberry Pi with

sudo reboot

Test the installation
Open Python and enter

import picamera
camera = picamera.PiCamera()

If this produced an image named image1.jpg in the current directory, all is fine.


Postări populare de pe acest blog

5Inch HDMI LCD for RPI 800x480

DevExpress Theme Changer ...

.NET Core Dependency Injection with Func as constructor parameter