Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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?