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

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

    Some dtype are not supported by specific OpenCV functions. For example inputs of dtype np.uint32 create this error. Try to convert the input to a supported dtype (e.g. np.int32 or np.float32)

提交回复
热议问题