Deep Learning/Computer Vision
OpenCV (11) - 원 그리기
Jun's N
2022. 6. 5. 21:00
원 그리기
cv2.circle(image, center, radian, color, thickness)
center : 원의 중심(2차원)
radian : 반지름
thickness : 선의 두께
import cv2
import numpy as np
import matplotlib.pyplot as plt
image = np.full((512, 512, 3), 255, np.uint8)
image = cv2.circle(image, (255, 255), 30, (255, 0, 0) , 3)
plt.imshow(image)
plt.show()
728x90