JRPiCam
JRPiCam copied to clipboard
Speed up taking pictures
Hi,
I need to speed up the process to take pictures. I want a live QR code scanner. It works but the following:
for(int i = 0; i<numberofpictures; i++) { piCamera.takeStill("afaf.jpg",640,640,); }
Can only take pictures at 1.38 frames per second, which is really slow to me.
When I use the following in python:
camera.capture('/home/pi/Desktop/python.jpg',use_video_port=True)
it is around 6 frames per second. Still slow but acceptable.
Can anyone tell me how to speed it up, or how to use use_video_port=True in the java library?
Thanks
Kind regards