File "F:/TensorFlow/test/set_other_people.py", line 41, in <module>
gray_img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
error: OpenCV(3.4.3) C:projectsopencv-pythonopencvmodulesimgprocsrccolor.cpp:181: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
可能是你系统中网络摄像头的设置有错误。
一周热门 更多>