我想使用python在常规图像文件中绘制一些具有给定大小和颜色的点,但我找不到正确的模块来执行此操作。例如:
import cv2
im = cv2.imread('.../file.jpg/')
xcoordinate = [10, 20, 30, 40]
ycoordinate = [20, 30, 50, 60]
sizePoint = 5
## Can't find this
drawPoints(im, (xcoordinate, ycoordnate), size = sizePoint, color = 'red')
cv2.imshow('Example',im)
cv2.waitKey(0)
任何建议都会非常感谢