Multiple cameras - no attribute 'threaded'

asked 2013-08-02 18:57:53 -0500

dbsseven gravatar image

I have seen a few posts on this issue but never a clean resolution. I am running Ubuntu 12.04 using SimpleCV 1.3.0 with a Logitech C310 and C270.

from SimpleCV import *

display = Display()

cam0 = Camera(2)
cam1 = Camera(0)
a = cam0.getImage()
b = cam1.getImage()

while display.isNotDone():

However, when I try to open both cameras simulateously I get an error " File "/usr/lib/pymodules/python2.7/SimpleCV/", line 579, in getImage if (not self.threaded): AttributeError: Camera instance has no attribute 'threaded'"

I can write a simpler script to open each individually without any problem.

Any suggestions?

edit retag flag offensive close merge delete


Are you sure about the index of the cameras?

jayrambhia gravatar imagejayrambhia ( 2013-08-04 00:57:17 -0500 )edit

yes, I can run a simpler script showing only one and it works fine for both cameras

dbsseven gravatar imagedbsseven ( 2013-08-04 13:00:48 -0500 )edit