python-opencv获取二值图像轮廓及中心点坐标的代码 python-opencv获取二值图像轮廓及中心点坐标代码:groundtruth=cv2.imread(groundtruth_path)[:,:,0]h1,w1=gro 中心点