我在树莓派中输入以下代码。
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 上运行(安装在树莓派中)时,它第一次运行得很好。但是当我再次运行它时,它说相机驱动程序未检测到错误。我使用网络摄像头作为我的相机。操作系统是树莓派。