import cv2
img = cv2.imread('WhatsApp Image 2020-08-22 at 15.25.39.jpeg')
res = cv2.xphoto.oilPainting(img, 7, 1)
cv2.imshow("Painting", res)
#press esc to exit the program
cv2.waitKey(0)
#close all the opened windows
cv2.destroyAllWindows()