In python module picamera, does anyone noticed that camera.capture(array, 'rgb')
is quite slow?? If you try to measure this time is about 540ms...
example code (the "real code" is irrelevant):
from picamera import PiCamera
import numpy as np
from time import sleep
camera = PiCamera()
camera.resolution = (320, 240)
camera.framerate = 24
time.sleep(2)
output = np.empty((240, 320, 3), dtype=np.uint8)
camera.capture(output, 'rgb')
Then I use the output object to render a QWidget There is a faster way to do it?? I want something to about 16ms latency.