Do you allow this site to use Cookies?

RaspberryConnect Logo

Models of Raspberry Pi

WhatisaRPI sml

What is a Raspberry Pi and what are the different models?

Raspberry Pi OS Software Packages

RaspbianSoftwarePackages

Raspberry Pi OS is the official operating system for the Raspberry Pi (previously known as Raspbian). There are 1000's of Free programs available for download.

Projects

Projects

Various Projects and Guides from the Raspberry Pi Community.

 

PiCamera is a python library used to control the Raspberry Pi Camera Module for python 2.7 or python 3.2 and above.

The Rapsberry Pi Camera Module allows you to take 5 mega pixel photos, HD video and do time-lapse photography all controlled via the command line using the utilities Raspistill and Raspivid.

Dave Hughes has created a python library called picamera allowing you to be more creative on how you can use the Raspberry Pi Camera Module. The picamera library controls the RPI camera directly but gives you access to the same features found in the Raspistill and Raspivid utilities and more such as taking a still image at the same time as recording video.


Example of commands

picamera.PiCamera.start_preview()picamera.PiCamera.resolution =(1920, 1024)picamera.PiCamera.capture('image.jpg')picamera.PiCamera.exposure_mode = 'spotlight'

 

Installation

The library can be installed from within Raspbian with the command

for python 2.7+

 sudo apt-get install python-picamera

for python 3.2+

 sudo apt-get install python3-picamera

 More information can be found at picamera.readthedocs.org

 

 

 

Add comment
Enter any text in "Title"

PLEASE NOTE:
I have very limited time currently for the comments, so you will probably get a very slow response for questions I know the answer to. If I need to set up a Pi to check your issue or request then I am unlikely to have chance to spend time on this.
I will continue support once I can spare the time again.
Thank you for your interest


Comments  
# James Burris 2020-11-21 03:49
PiCamera in python3.8 getting cannot import PiCamera from picamera.
Reply | Reply with quote | Quote | Report to administrator

Keep connected at home and on the move with the Automatic Hotspot scripts

Guides for setting up your Raspberry Pi to your home network when your at home or generate a Automated Hotspot when you are out. For all models of the Raspberry Pi

Auto Hotspot Script Easy Installer

AutoHotspot Net Sml

Setup a Auto Hotspot or Static Hotspot with the easy installer

Auto Hotspot Scripts with Internet

AutoHotspot Net Sml

Auto Hotspot with Internet access for Raspberry Pi's 1, 1B/+, 2, 3, 3B+ & 4

Auto Hotspot Scripts no Network

AutoHotspot Zero Sml

Auto Hotspot with NO Internet access for Raspberry Pi Zero

Static Hotspot Scripts

StaticHotspot Net Sml

Perminant Hotspot with Internet access for all Raspberry Pi's