Ошибка: экземпляр камеры не имеет атрибута Release
Код: Выделить всё
from SimpleCV import *
import time
def camera(self):
try:
cam=Camera(0)
while cam is not None:
try:
img = cam.getImage()
img.show()
time.sleep(0.1)
except Exception as e:
print(e)
except Exception as e:
print(e)
finally:
cam.release()
del cam
Мобильная версия