What am trying to do is in each task I have elements and am going to randomly choose an element and create a matrix the same size as the data and put 1 for the selected element and 0 for the non-selected one
The issues I have faced are that my data is not equal in length so that posed as a...
damaged_image = cv2.imread("Corrupted.png")
mask = cv2.imread("mask.png", 0)
output = cv2.inpaint(damaged_image, mask, 1, cv2.INPAINT_TELEA)
I couldn't generate mask with python, i have drawn the mask by using Paint...