I can't get higher fps than 5
Posted: Sun Oct 05, 2014 4:27 pm
Hi,
I can't get more than 5 fps out of my PiCamera. I know it should be possible, e.g. with that command:
raspivid -w 640 -h 480 -fps 90 -t 10000 -o test90fps.h264
I use the Python OpenCv API, maybe that is the reason? Here is a bit of my Code:
What am I doing wrong?
I can't get more than 5 fps out of my PiCamera. I know it should be possible, e.g. with that command:
raspivid -w 640 -h 480 -fps 90 -t 10000 -o test90fps.h264
I use the Python OpenCv API, maybe that is the reason? Here is a bit of my Code:
Code: Select all
with picamera.PiCamera() as camera:
stream = io.BytesIO()
#camera settings
camera.resolution = (50,50)
camera.iso = 200
time.sleep(2)
camera.framerate = 30
camera.exposure_mode = 'off'
for foo in camera.capture_continuous(stream, format='jpeg', use_video_port=True):
stream.truncate()
stream.seek(0)
img = process(stream)