On 03/07/2013 14:25, ifelset...@gmail.com wrote:
> Hello,
>
>
> I have a while loop taking images every 5 minutes from webcam.
> Unfortunately, if the camera is busy, python.exe crashes and there is
> no exception to catch. Is there a way to check if camera is busy to
> avoid the crash?
If pytho
Hello,
I have a while loop taking images every 5 minutes from webcam. Unfortunately,
if the camera is busy, python.exe crashes and there is no exception to catch.
Is there a way to check if camera is busy to avoid the crash?
Thanks!
from cv2 import *
while True:
time.sleep(4)
cam =