minAreaRect 的输出及其后续boxPoints
初学 python 版本的opencv, 对contours 的后续函数 minAreaRect的功能描述及使用;
########选取图像的最大轮廓,并用minAreaRect 选取包裹该轮廓的最小矩阵
contours, hierarchy = cv2.findContours(image, cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE)
contours.sort(key=lambda c: cv2.contourArea(c