2019-12-02 05:56:45 +01:00
|
|
|
.. _install:
|
|
|
|
|
2019-12-02 05:56:22 +01:00
|
|
|
============
|
2019-12-02 05:57:16 +01:00
|
|
|
Installation
|
2019-12-02 05:56:22 +01:00
|
|
|
============
|
2019-12-02 05:54:40 +01:00
|
|
|
|
2019-12-02 05:57:16 +01:00
|
|
|
.. currentmodule:: picamera
|
2019-12-02 05:54:40 +01:00
|
|
|
|
|
|
|
|
2019-12-02 05:57:16 +01:00
|
|
|
.. _raspbian_install:
|
2019-12-02 05:54:40 +01:00
|
|
|
|
2019-12-02 05:57:16 +01:00
|
|
|
Raspbian installation
|
|
|
|
=====================
|
2019-12-02 05:54:40 +01:00
|
|
|
|
2019-12-02 05:57:16 +01:00
|
|
|
If you are using the `Raspbian`_ distro, it is best to install picamera using
|
|
|
|
the system's package manager: apt. This will ensure that picamera is easy to
|
|
|
|
keep up to date, and easy to remove should you wish to do so. It will also make
|
|
|
|
picamera available for all users on the system. To install picamera using apt
|
|
|
|
simply::
|
2019-12-02 05:54:40 +01:00
|
|
|
start()
|
|
|
|
|
|
|
|
while True:
|
|
|
|
init()
|
|
|
|
load()
|
|
|
|
flush()
|
|
|
|
image()
|
|
|
|
aeration()
|
|
|
|
wait()
|
|
|
|
|
|
|
|
stop()
|