我想在图像中一些物体的质心周围画一个红色的圆圈(图像中的物体是一些昆虫,所以这些圆圈有助于人类视觉上检测昆虫);我已经有了质心(如下所示),但不知道如何在python/opencv中实现这一点
array([[ 265., 751.],
[ 383., 681.],
[ 386., 889.],
[ 434., 490.],
[ 446., 444.],
[ 450., 451.],
[ 539., 1365.],
[ 571., 1365.],
[ 630., 645.],
[ 721., 1365.],
[ 767., 70.],
[ 767., 82.],
[ 767., 636.]])
有人知道怎么做我想做的吗?在
您可以将^{} API用作:
输出:
绘制圆:
例如:
^{pr2}$相关问题 更多 >
编程相关推荐