First time here? Check out the FAQ!
answered 2020-03-13 06:44:04 -0600
please check np.dtype(dilate_image)
np.dtype(dilate_image)
updated 2020-03-13 06:58:39 -0600
in other words, you need a numpy array with dtype=np.uint8
dtype=np.uint8