I am trying to draw a circle on an image using Python. I tried this with PIL, but I would like to specify linewidth . Currently, PIL draws a circle, but the border is too thin.
Here is what I did.
For the test image: I created a 1632 X 1200 image in MS Paint and filled it with green. I called it test_1.jpg . Here is the input file: 
from PIL import Image, ImageDraw im = Image.open('test_1.jpg') width, height = im.size eX, eY = 816,816
Basically, I tried to draw several circles that would be centered in the same place, but with a different radius. I thought this would create the effect of a thicker line.
However, this leads to the conclusion shown in the attached file below: 
Problem: As you can see, the lower left and upper right are too thin. In addition, there are gaps between the various circles (see Upper Left and Right Right).
The circle has a different thickness. I watch a circle with uniform thickness.
Question: Is there a way to draw a circle in Python on an image like test_1.jpg using PIL, NumPy, etc. And indicate the thickness of the string?
source share