How to detect when the camera is ready?

asked 2014-10-28 15:50:27 -0500

brousch gravatar image

I have some trouble with the Camera not being quite ready when I grab an Image from it. It sometimes takes 2-3 seconds before it returns a real image. I have a work-around which is to grab an image, test if it's all black, if so, wait 1 second and try again until it's a real image. Is this the best way to go about checking if the camera is really ready, or am I missing something built in?

edit retag flag offensive close merge delete


very strange it usually does not take so long, what is the configuration of your hardware, and what the configuration of the camera?

Rodrigo gomes gravatar imageRodrigo gomes ( 2014-11-09 11:48:07 -0500 )edit