Hi,
I read the documentation on PiCamera and I found a way to read the RAW image directly from the sensor, see below. II gave it a shot and the code works for me. However, 'm wondering whether this approach is reliable or not, i.e., whether the sensor throws a pure RAW image or not.
http://picamera.readthedocs.io/en/relea ... bayerarray
import picamera
import picamera.array
with picamera.PiCamera() as camera:
with picamera.array.PiBayerArray(camera) as output:
camera.capture(output, 'jpeg', bayer=True)
print(output.array.shape)
Thanks,
Venky