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

后端 未结 11 1354
故里飘歌
故里飘歌 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:27

    This is a general error, which throws sometimes, when you have mismatch between the types of the data you use. E.g I tried to resize the image with opencv, it gave the same error. Here is a discussion about it.

提交回复
热议问题