This is what I have tried:
import cv2 import numpy as np img = cv2.imread(\'images/skin5.jpg\') imgcopy = img.copy() kernel = np.ones((5,5),np.uint8) img2 =