OpenCV TypeError: Expected cv::UMat for argument 'src' - What is this?

后端 未结 11 1366
故里飘歌
故里飘歌 2020-12-01 15:44

Disclaimer: huge openCV noob

Traceback (most recent call last):

File \"lanes2.py\", line 22, in

canny = canny(lane_image)         


        
11条回答
  •  被撕碎了的回忆
    2020-12-01 16:22

    Sometimes I have this error when videostream from imutils package doesn't recognize frame or give an empty frame. In that case, solution will be figuring out why you have such a bad frame or use a standard VideoCapture(0) method from opencv2

提交回复
热议问题