I have been using my raspberry pi and working with the camera module. The lowest time taken by regular raspistill to capture a single image is about 900ms. I use the picamera python interface with video-port set & use camera_sequence function for format = jpeg the time to capture a frame comes down to 80 ms & 30 ms for yuv. Now the project that i am working on requires the time taken to capture a single frame to be at 10ms at least. I know that its possible if we put our raw image data on RAM (possibly the bayers data). Any ideas on how it can be done?
import io
import time
import picamera
import cv2
with picamera.Picamera() as camera:
camera.resolustion = (750 , 150)
camera.framerate = 80
time.sleep(2)
camera.shutter_speed = 400
outputs = [io.BytesIO]
start = time.time()
camera.capture_sequence(outputs , 'jpeg' , use_video_port=True)
finish = time.time()
print(finish-start)