cv2.error: OpenCV(4.2.0) matrix.cpp:235: error: (-215:Assertion failed) s >= 0 in function 'cv::set
defrecognize_camera():cap=cv2.VideoCapture(0)#调用0号摄像头whileTrue:ret,test_image=cap.read()ifret:try:#执行预测predicted_img,predicted_label=get_predict(test_image)#显示图像cv2.imshow('Recognizing',predicted_img)