error: (-215:Assertion failed) p.checkVector(2, CV_32S) >= 0 in function 'fillPoly'

原代碼 left_bottom = [0, canny_img.shape[0]] right_bottom = [canny_img.shape[1], canny_img.shape[0]] apex = [canny_img.shape[1]/2, 310] vertices = np.array([left_bottom, right_bottom, apex], dtype=np.int
相關文章
相關標籤/搜索