cv2.error: OpenCV(4.5.3) :-1: error: (-5:Bad argument) in function ‘line‘> Overload resolution fail
opencv-python学习-几何形状拟合的报错----附上个人报错后修改的小意见下方是源程序#coding:utf-8importcv2importnumpyasnpdefdraw_rect(img_file,points):img=cv2.imread(img_file)center,size,angle=cv2.minAreaRect(points)#中心点坐标,尺寸,旋转角度print(