On 18 mar, 04:24, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > In <[EMAIL PROTECTED]>, Synt4x wrote: > > from VideoCapture import Device > > cam = Device() > > > while 1: > > img = cam.getImage() > > > Now, by doing this, my processor fires up to 100% load, which > > obviously makes my pc useless. > > > Is there any way or algorithm to lower the cpu load? > > Just throw a small `time.sleep()` into the loop. > > Ciao, > Marc 'BlackJack' Rintsch
The problem with adding a sleep() instrucction is that the "video feed" looks lagged, if you know what I mean. It looks interrupted. -- http://mail.python.org/mailman/listinfo/python-list