Drawing Circle using OpenCV in Python

 

import cv2
import numpy as np

slat = np.zeros((1000, 1000, 3), dtype='uint8')

red = (0, 0, 255)
green = (0, 255, 0)
cv2.circle(slat, (500, 500), 10, green, -1)


for i in range(40):
    cv2.circle(slat, (500, 500), 20 + i*10, red, 2)

cv2.imshow("Circles", slat)

cv2.waitKey(0)
cv2.destroyAllWindows()

Output Image: