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.int32)...cv2.fillPoly