我想计算矩形的质心,矩形的坐标如下:
co_ord = (601, 1006,604, 1009) ## (xmin,ymin,xmax,ymax)
有人可以指出一个简单的方法。谢谢
python rectangles centroid
centroid ×1
python ×1
rectangles ×1