# Smoothing jagged lines in an image?

I have an image like this - I would like to smoothen the lines in this (as you can see they lines are a little jaggy.) How can I do this?

I obtained the lines by isolating them from another image using a mask to threshold a colour.

img_hsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV)
sens = 20

lower_green = np.array([60 - sens, 100, 100])
upper_green = np.array([60 + sens, 255, 255])
$$$$
`