Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

please check np.dtype(dilate_image)

please check np.dtype(dilate_image)

in other words, you need a numpy array with dtype=np.uint8