Learn Before
Code
OpenCV cv2.circle() Method
The cv2.circle() method in OpenCV constructs a circle on an image at a specified center coordinate with a given radius. This method requires an image object, center coordinates, radius, color, and line thickness.
img = cv2.circle(frame, (100, 100), 60, (0, 0, 255), -1)
In this example, the thickness is specified as -1, which fills the circle in completely instead of just drawing the outline.
0
1
Updated 2026-07-02
Contributors are:
Who are from:
Tags
Python Programming Language
Data Science