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

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

    The following can be used from numpy:

    import numpy as np 
    image = np.array(image)
    

提交回复
热议问题