Ask Your Question

dbsseven's profile - activity

2015-04-25 09:52:32 -0500 received badge  Notable Question (source)
2015-04-25 09:52:32 -0500 received badge  Famous Question (source)
2013-09-14 22:04:33 -0500 received badge  Popular Question (source)
2013-08-04 13:00:48 -0500 commented question Multiple cameras - no attribute 'threaded'

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

2013-08-02 18:57:53 -0500 asked a question Multiple cameras - no attribute 'threaded'

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():
    a.sideBySide(b)
    a.show()

However, when I try to open both cameras simulateously I get an error " File "/usr/lib/pymodules/python2.7/SimpleCV/Camera.py", 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?