79833033

Date: 2025-11-29 03:50:44
Score: 1.5
Natty:
Report link

import cv2

import numpy as np

# Start with your noisy 344x344 grayscale image

img = np.random.randint(0, 256, (344, 344), dtype=np.uint8)

# Circle settings

center = (img.shape[1]//2, img.shape[0]//2) # (x, y)

radius = 80 # adjust size here (scale)

# Draw filled black circle

cv2.circle(img, center, radius, color=0, thickness=-1)

cv2.imshow("Image with Circle", img)

cv2.waitKey(0)

cv2.destroyAllWindows()

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: jia badar