import numpy as np
import cv2
img = np.ones((400, 400,3),np.uint8)*255
circle = np.ones((400, 400))*255
for theta in np.arange(0, 2*np.pi, 0.01):
for r in np.arange(150, 160, 1):
x = 200 + r * np.cos(theta)
y = 200 + r * np.sin(theta)
circle[int(x)][int(y)] = 0
cv2.imshow('c',circle)
This gives the output:
How do I change the colors of those black pixels to blue? If I do
circle[int(x)][int(y)] = (255,0,0)
It gives an error saying "setting an array element with a sequence."
