raspberry pi - How to get class picamera.array in python -


how class picamera.array in python?? when write commands "help('modules')", there no list 'picamera.array'. there picamera. want capture rgb image , make array picture

the way picamera:

import picamera import picamera.array 

it's question because normally, import picamera , give access attribute picamera.array.

however, in case of picamera, in order avoid adding hard dependency on numpy picamera, module not automatically imported main picamera package , must explicitly imported.


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -