I am working on a program on raspberry pi b+ model, my program needs to capture images from a raspberry pi camera attached i used this code to capture images:
cmd='raspistill -o '+filename+' -t 10 -ex auto -awb auto -w 800 -h 600 '
pid=subprocess.call(cmd,shell=True)
when i tested this code the time for running just these two lines of code was about 1 second and this is way too much time
my question: is there any way to reduce time of capturing images, or is there any other features that can be added to the code to reduce the time of capturing ?