I am trying to run a basic script to get feed from my webcam using SimplecCV 1.3.0 with a Logitech HD C270 webcam (also tried Logitech tessar 2.0 / 3.7) on 64 bit Linux Mint 12.
When I iterate over the following script
from SimpleCV import *
cam = Camera()
while(True):
img = cam.getImage()
img.show()
A window will appear and I see the camera channel. However, at seemingly random moments, the feed will freeze and produce the following error on eachimg = cam.getImage()
VIDIOC_DQBUF: No such device
libv4l2: error dequeuing buf: No such device
From this moment, when I try to run the same script, the window opens for a moment, disappears, and I get the following error in the line of img = cam.getImage()my script:
File "/usr/lib/pymodules/python2.7/SimpleCV/Camera.py", line 579, in getImage
if (not self.threaded):
AttributeError: Camera instance has no attribute 'threaded'
, -. , - (, ) .