OpenCVimutilsNoneTypeError
Traceback (most recent call last): |
早上突然出现了这个错误。网上搜了很多都说是视频的源路径出错导致传给了imutils空的路径。可是测试树莓派摄像头时却一切正常。
突然想起昨晚装的 v4l-2 驱动好像没加载。测试之后果然修复了NoneTypeError.
sudo modprobe bcm2835-v4l2 |
It could be the path problem, but in my case it is the v4l2 thing that makes the trouble.