Whenever i'm trying to run the program i have made i get the indexError:
IndexError: index 303 is out of bounds for axis 0 with size 303
i can fix it and go into my np.zeros((rows,cols),3),np.uint8) and increas the values of the rows or cols to make the image fit, when tranformed. But is there any easier way to no do that an make a autosize function or something i've tried with namedWindow, but no luck so far