Using the documentation here here, the code
import time import picamera import picamera.array import cv2 with picamera.PiCamera() as camera: camera.start_preview() time.sleep(2) with picamera.array.PiRGBArray(camera) as stream: camera.capture(stream, format='bgr') # At this point the image is available as stream.array image = stream.array
As i understand it, this returns a numpy array to be read in openCV correct? My question is, how do I then open/access it to perform image processing on it in openCV?