I have searched for similar questions, but haven\'t found anything helpful as most solutions use older versions of OpenCV.
I have a 3D numpy array, and I would like
You are looking for scipy.misc.toimage:
import scipy.misc rgb = scipy.misc.toimage(np_array)
It seems to be also in scipy 1.0, but has a deprecation warning. Instead, you can use pillow and PIL.Image.fromarray
pillow