Answers for "image completion inpainting with python"

0

image completion inpainting with python

import numpy as np
import cv2

img = cv2.imread('messi_2.jpg')
mask = cv2.imread('mask2.png',0)

dst = cv2.inpaint(img,mask,3,cv2.INPAINT_TELEA)

cv2.imshow('dst',dst)
cv2.waitKey(0)
cv2.destroyAllWindows()
Posted by: Guest on October-14-2020

Code answers related to "image completion inpainting with python"

Python Answers by Framework

Browse Popular Code Answers by Language