用USB接口相机和电脑相机可以采集图片,用网络接口就报错,后来发现是异步采集时间的问题。将 grab_image_async (Image, AcqHandle, -1) 中的时间 -1 改大就行,我改为1500后成功。