9. API - The PiCamera Class

The picamerax library contains numerous classes, but the primary one that all users are likely to interact with is PiCamera, documented below. With the exception of the contents of the picamerax.array module, all classes in picamerax are accessible from the package’s top level namespace. In other words, the following import is sufficient to import everything in the library (excepting the contents of picamerax.array):

import picamerax

9.1. PiCamera

9.2. PiVideoFrameType

9.3. PiVideoFrame

9.4. PiResolution

9.5. PiFramerateRange

9.6. PiSensorMode