How to Draw a point in an image using given co-ordinate with python opencv?

You can use cv2.circle() function from OpenCV module:

image = cv.circle(image, centerOfCircle, radius, color, thickness)

Keep radius as 0 for plotting a single point and thickness as a negative number for a filled circle

import cv2
image = cv2.circle(image, (x,y), radius=0, color=(0, 0, 255), thickness=-1)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)