neural-enhance
neural-enhance copied to clipboard
Work without deprecated SciPy methods (Py3.9+)
-In the last version SciPy some methods have been deprecated. -Methods have been replaced to PIL* & imageio*
--------------------More details--------------------
-The read method has been replaced from "scipy.ndimage.imread(filename, mode='RGB')" to "imageio.imread(filename, as_gray=False, pilmode="RGB")" -The return buffer has been replaced from "scipy.misc.toimage(output, cmin=0, cmax=255)" to "PIL.Image.fromarray((output).astype('uint8'), mode='RGB')"