# Draw a circle using OpenCV function circle()

OpenCVPythonServer Side ProgrammingProgramming

In this article, we will draw a circle on an image using the OpenCV function circle().

## Algorithm

Step 1: Import OpenCV.
Step 2: Define the radius of circle.
Step 3: Define the center coordinates of the circle.
Step 4: Define the color of the circle.
Step 5: Define the thickness.
Step 6: Pass the above arguments into cv2.circle() along with the image.
Step 7: Display the output.

## Example Code

import cv2
cv2.imshow('Circle', image)