15. API - Arrays

The picamera library provides a set of classes designed to aid in construction of n-dimensional numpy arrays from camera output. In order to avoid adding a hard dependency on numpy to picamera, this module (picamera.array) is not automatically imported by the main picamera package and must be explicitly imported, e.g.:

import picamera
import picamera.array

15.1. PiArrayOutput

15.2. PiRGBArray

15.3. PiYUVArray

15.4. PiBayerArray

15.5. PiMotionArray

15.6. PiAnalysisOutput

15.7. PiRGBAnalysis

15.8. PiYUVAnalysis

15.9. PiMotionAnalysis

15.10. PiArrayTransform