Can anybody explain me the 2nd line of the code why are we using (0,0) before constant values

Viewed 29

img1 = cv.imread('C:/Users/saish/Documents/Data Science/ImageCollage dataset/top_left.jpg')

img1 = np.pad(img1, ((10, 10), (10, 10), (0,0)), constant_values=(0,0))

0 Answers
Related