9. API -
The picamera package consists of several modules which provide a pure Python interface to the Raspberry Pi’s camera module. The package is only intended to run on a Raspberry Pi, and expects to be able to load the MMAL library (libmmal.so) upon import.
The classes defined by most modules in this package are available directly from
picamera namespace. In other words, the following code is typically
all that is required to access classes in the package:
The following sections document the various modules available within the package: