Raspberry pi中的简单简历

时间:2014-05-14 02:31:28

标签: python raspberry-pi raspbian simplecv

我在我的树莓派中输入以下代码。

from SimpleCV import Camera
# Initialize the camera
cam = Camera()
# Loop to continuously get images
while True:
    # Get Image from camera
    img = cam.getImage()
    # Show the image
    img.show()

但是当我在python上运行时(安装在raspberry pi中),第一次运行得非常好。但是,当我再次运行时,它说相机驱动程序没有检测到错误。我使用网络摄像头作为我的相机。操作系统是无懈可击的。

0 个答案:

没有答案