Python通过OpenCV的findContours获取轮廓并切割实例 1获取轮廓OpenCV2获取轮廓主要是用cv2.findContoursimportnumpyasnpimportcv2im=cv2.imread('test.jpg')imgray=cv2. findcontours