
# https://www.globalsino.com/ICs/
# Draw circles on an image


import cv2
import numpy as np
from matplotlib import pyplot as plt

img = cv2.imread(r"C:\GlobalSino2\ICs\images\4274Donutb.png")
  
# The line color in white
color = (255, 255, 255)

img = cv2.circle(img, (round(img.shape[0]/2), round(img.shape[1]/2)), round(1*(img.shape[0]/2)/5), (255, 255, 255), 2)
img = cv2.circle(img, (round(img.shape[0]/2), round(img.shape[1]/2)), round(2*(img.shape[0]/2)/5), (255, 255, 255), 2)
  
# Display the image 
cv2.imshow('My image', img)
cv2.imwrite(r"C:\GlobalSino2\ICs\images\4274DonutbWithCircles.png", img)

cv2.waitKey(0)
cv2.destroyAllWindows()
