python opencv minAreaRect 生成最小外接矩形的方法 使用pythonopencv返回点集cnt的最小外接矩形,所用函数为cv2.minAreaRect(cnt),cnt是点集数组或向 minAreaRect