Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Webcams and python
- From: ianmurrays at gmail.com (Synt4x)
- Subject: Webcams and python
- Date: 17 Mar 2007 18:51:14 -0700
I'm using VideoCapture in windows to obtain images from my webcam. The
thing is, if i want to show a live video from my webcam i have to make
an infinite loop and request an image everytime:
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?
Thx.
- Follow-Ups:
- Webcams and python
- From: Marc 'BlackJack' Rintsch
- Webcams and python
- Prev by Date: IDE for wxPython
- Next by Date: How to parse the os.system() output in python
- Previous by thread: Looking for a job?
- Next by thread: Webcams and python
- Index(es):